$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "urls": [
< "https://www.local.ch/de/s/restaurant/zurich",
< "https://www.local.ch/de/s/pizza",
< "https://www.local.ch/de/q/zuerich/restaurant",
< "https://www.local.ch/de/q?what=restaurant&where=zuerich",
< "https://www.local.ch/de/s/restaurant/zurich?page=2",
< "https://www.local.ch/de/s/restaurant/zurich?sorting=rating",
< "https://www.local.ch/de/d/zuerich/8004/restaurant/restaurant-milano-rPs42JlyMK6zuDlCzLm1MA",
< "https://www.local.ch/de/d/rPs42JlyMK6zuDlCzLm1MA",
< "https://www.local.ch/fr/s/restaurant/geneve",
< "https://www.local.ch/en/q/zurich/restaurant",
< "https://www.local.ch/de/s/restaurant/8001",
< "https://www.local.ch/de/s/restaurant/zh",
< "https://local.ch/de/s/restaurant/zurich",
< "https://www.local.ch/de/entries/XlOM3DSqSoeHWjGtRZozEw/vcard"
< ],
< "maxPages": 0,
< "maxListings": 20,
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "CH"
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~local-ch-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'