$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "requests": [
< {
< "request_type": "View",
< "url": "https://www.csfd.cz/film/17592-ctyri-svatby-a-jeden-pohreb/prehled/"
< },
< {
< "request_type": "View",
< "url": "https://www.csfd.cz/film/1490468-survivor-cesko-slovensko/prehled/"
< },
< {
< "request_type": "View",
< "url": "https://www.csfd.cz/film/68990-star-trek-hluboky-vesmir-devet/494608-serie-6/prehled/"
< },
< {
< "request_type": "ViewReviews",
< "url": "https://www.csfd.cz/film/14855-mlady-draci-ninja-2/recenze/"
< },
< {
< "request_type": "ViewReviews",
< "url": "https://www.csfd.cz/film/68990-star-trek-hluboky-vesmir-devet/494630-zuctovani/recenze/"
< },
< {
< "request_type": "ViewRatings",
< "url": "https://www.csfd.cz/film/14825-spirit-of-man/prehled//"
< },
< {
< "request_type": "User",
< "url": "https://www.csfd.cz/uzivatel/195357-verbal/"
< },
< {
< "request_type": "UserReviews",
< "url": "https://www.csfd.cz/uzivatel/195357-verbal/recenze/"
< }
< ],
< "proxy_settings": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/danielherman~csfd-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'