Skip to content

Instantly share code, notes, and snippets.

@unbelauscht
Created December 27, 2023 20:43
Show Gist options
  • Save unbelauscht/8f0c905fb91da8c84c26961a1e155f48 to your computer and use it in GitHub Desktop.
Save unbelauscht/8f0c905fb91da8c84c26961a1e155f48 to your computer and use it in GitHub Desktop.
Get "In Therapie" from Arte in German
#!/usr/bin/env python3
from yt_dlp import YoutubeDL
URLS = []
for i in range(1,36):
URLS.append(f"https://www.arte.tv/de/videos/089024-{str(i).zfill(3)}-A/in-therapie-staffel-1-{i}-35/")
URLS.append(f"https://www.arte.tv/de/videos/102958-{str(i).zfill(3)}-A/in-therapie-staffel-2-{i}-35/")
ydl_opts = {'format': 'bestvideo[ext=mp4]+VA-STA-audio_0-Deutsch'}
with YoutubeDL(ydl_opts) as ydl:
ydl.download(URLS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment