Switch to yt-dlp (fixes #432)

youtube-dl has no new release since 2021
This commit is contained in:
Pierre Rudloff 2023-03-30 21:41:08 +02:00
parent 9564764633
commit 3e45f19682
No known key found for this signature in database
5 changed files with 20 additions and 28 deletions

View file

@ -24,7 +24,7 @@ class Config
*
* @var string
*/
public string $youtubedl = 'vendor/ytdl-org/youtube-dl/youtube_dl/__main__.py';
public string $youtubedl = 'vendor/yt-dlp/yt-dlp/yt_dlp/__main__.py';
/**
* python binary path.
@ -39,7 +39,13 @@ class Config
* @var string[]
*/
public array $params = [
'--no-warnings', '--ignore-errors', '--flat-playlist', '--restrict-filenames', '--no-playlist'
'--no-warnings',
'--ignore-errors',
'--flat-playlist',
'--restrict-filenames',
'--no-playlist',
'--use-extractors',
'default,-generic',
];
/**