Last active
November 14, 2017 18:18
-
-
Save snipem/cc7dab6b65625dabec65c301b314055d to your computer and use it in GitHub Desktop.
Searches arte.tv for content in Arte Mediathek. Returns url to the video to be used in youtube-dl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment