/arte-dlp

Download any arte.tv content with all available subtitles converted in .srt and merged into a .mkv container

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

arte-dlp

deprecated

Please read this issue With the custom fork of ffmpeg by yt-dlp this script can can be useless using only this command:

yt-dlp --embed-subs --sub-langs all --convert-subs srt --ppa "EmbedSubtitle:-disposition:s:0 0" --merge mkv "URL"

motivation

Many websites uses WebVTT (.vtt) subtitles that are not recognized by media center softwares or the rendering does not display well. For the given URL this program will download video, audio and all available subtitles, if the subtitles are WebVTT (.vtt) encoded it will convert them into SubRip (.srt) before merging them all in a Matroska (.mkv) container.

prerequisites

  • python3
  • yt-dlp
  • ffmpeg

install

Download the script

wget https://raw.githubusercontent.com/ethicnology/arte-dlp/main/arte-dlp

Add it to your path

sudo mv arte-dlp /usr/local/bin

Make it executable

sudo chmod +x  /usr/local/bin/arte-dlp

usage

arte-dlp URL

demo

websites

Here is a list of websites that work well with it, please do an issue/PR if you try this tool and it works on any other website.