Created
December 27, 2023 20:43
-
-
Save unbelauscht/8f0c905fb91da8c84c26961a1e155f48 to your computer and use it in GitHub Desktop.
Get "In Therapie" from Arte in German
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
#!/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