$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://www.decathlon.com/sitemap.xml"
< }
< ],
< "maxRequestsPerCrawl": 10,
< "proxyConfig": {
< "useApifyProxy": true
< },
< "extendOutputFunction": "async ({ data, item, product, images, fns, name, request, variants, context, customData, input, Apify }) => {\n return item;\n}",
< "extendScraperFunction": "async ({ fns, customData, Apify, label }) => {\n \n}",
< "customData": {},
< "maxConcurrency": 10,
< "maxRequestRetries": 3,
< "updatedSince": "",
< "batchSize": 10,
< "flushIntervalMs": 300,
< "perHostConcurrency": 2,
< "bufferSize": 100,
< "storefrontApiVersion": "2024-07",
< "storefrontShopDomain": "",
< "storefrontAccessToken": ""
<}
<EOF
$curl "https://api.apify.com/v2/acts/runexes~actor-shopify-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'