$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://hiringcafe.com/classic"
< },
< {
< "url": "https://hiringcafe.com/classic?searchState=%7B%22searchQuery%22%3A%22software%20engineer%22%7D"
< },
< {
< "url": "https://hiringcafe.com/classic?searchState=%7B%22searchQuery%22%3A%22software%20engineer%22%7D&page=2"
< },
< {
< "url": "https://hiringcafe.com/?searchState=%7B%22searchQuery%22%3A%22software%20engineer%22%7D"
< },
< {
< "url": "https://hiringcafe.com/?searchState=eyJzZWFyY2hRdWVyeSI6InNvZnR3YXJlIGVuZ2luZWVyIn0%3D"
< },
< {
< "url": "https://hiringcafe.com/job/bt38fz2pqe76nimr"
< }
< ],
< "location": "",
< "workplaceType": "Any",
< "commitmentType": "Any",
< "seniorityLevel": "Any",
< "maxItems": 20,
< "fetchDetails": true,
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~hiring-cafe-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'