$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerm": "notebook",
< "brands": [],
< "urls": [
< "https://www.mediamarkt.de/de/search.html?query=samsung%20galaxy%20s24",
< "https://www.mediamarkt.de/de/search.html?query=samsung%20galaxy%20s24&page=2",
< "https://www.mediamarkt.de/de/search.html?query=samsung%20galaxy%20s24&sort=price",
< "https://www.mediamarkt.de/de/search.html?query=notebook",
< "https://www.mediamarkt.de/de/category/laptops-notebooks-362.html",
< "https://www.mediamarkt.de/de/category/laptops-notebooks-362.html?page=2",
< "https://www.mediamarkt.de/de/category/laptops-notebooks-362.html?sort=price&brand=APPLE",
< "https://www.mediamarkt.de/de/category/c-362.html",
< "https://www.mediamarkt.de/de/product/_hp-omen-17-db1351ng-173-zoll-amd-ryzentm-ai-5-340-16-gb-1-tb-nvidia-geforce-rtxtm-5060-windows-11-home-3008418.html",
< "https://www.mediamarkt.de/de/product/_p-3008418.html",
< "https://www.mediamarkt.de/de/search.html?query=iphone&brand=APPLE",
< "https://mediamarkt.de/de/category/laptops-notebooks-362.html",
< "https://www.mediamarkt.de/de/category/laptops-notebooks-362.html?searchParams=%2FSearch.ff%3Fquery%3Dnotebook"
< ],
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "DE"
< },
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~mediamarkt-de-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'