$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< "https://genius.com/Fifty-fifty-cupid-twin-version-lyrics",
< "https://genius.com/albums/Fifty-fifty/The-beginning-cupid",
< "https://genius.com/artists/Drake",
< "https://genius.com/tags/pop",
< "https://genius.com/search?q=tiktok"
< ],
< "search": "rap",
< "searchMode": "song",
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~genius-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'