$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "iphone"
< ],
< "urls": [
< "https://24h.pchome.com.tw/search/iphone",
< "https://24h.pchome.com.tw/search/?q=iphone",
< "https://24h.pchome.com.tw/category/DYAJ95C",
< "https://24h.pchome.com.tw/prod/DYAJ01-A900J9CU7",
< "https://24h.pchome.com.tw/prod/DYAJ01-A900J9CU7?fq=/S/DYAJ01&utm_source=x",
< "https://24h.pchome.com.tw/store/DYAJ01",
< "https://24h.pchome.com.tw/region/DYAJ",
< "https://24h.pchome.com.tw/sign/mobile",
< "https://24h.pchome.com.tw/sites/sandisk",
< "https://m.pchome.com.tw/"
< ],
< "maxReviews": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitExpired": false,
< "compactUpdates": false,
< "expireAfterMissedScans": 1,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~pchome-24h-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'