snipem
8/13/2016 - 6:47 PM

Searches arte.tv for content in Arte Mediathek. Returns url to the video to be used in youtube-dl

Searches arte.tv for content in Arte Mediathek. Returns url to the video to be used in youtube-dl

#!/bin/bash
# run: arte.sh "mit offenen karten"
query=$(echo "$@" | jq -s -R -r @uri)
curl -s "https://www.arte.tv/guide/api/api/search/de/$query/1/" |
jq -r .teasers[].url | uniq