Skip to content

Instantly share code, notes, and snippets.

@snipem
Last active Nov 14, 2017
Embed
What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment