$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "urls": [
< "https://www.youtube.com/@TED",
< "https://www.youtube.com/playlist?list=PLUCPc-R61w-s"
< ],
< "maxItems": 10,
< "maxVideosPerSource": 5,
< "channelContent": "videos",
< "publishedAfter": "",
< "publishedBefore": "",
< "titleKeywords": [],
< "languages": [
< "en"
< ],
< "captionType": "manualFirst",
< "languageFallback": true,
< "includeSegments": true,
< "onlyNewSinceLastRun": false,
< "stateKey": "",
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/datagrit~youtube-channel-playlist-transcripts/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'