diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index e62b73cbb7140..816d71e012598 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,5 +1,6 @@ PORTNAME= yt-dlp DISTVERSION= 2023.07.06 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME} diff --git a/www/yt-dlp/files/patch-yt__dlp_extractor_arte.py b/www/yt-dlp/files/patch-yt__dlp_extractor_arte.py new file mode 100644 index 0000000000000..60b653370f9a1 --- /dev/null +++ b/www/yt-dlp/files/patch-yt__dlp_extractor_arte.py @@ -0,0 +1,13 @@ +- patch from https://github.com/yt-dlp/yt-dlp/issues/8156 + +--- yt_dlp/extractor/arte.py.orig 2022-05-18 03:37:32 UTC ++++ yt_dlp/extractor/arte.py +@@ -169,7 +169,7 @@ def _real_extract(self, url): + ))) + + short_label = traverse_obj(stream_version, 'shortLabel', expected_type=str, default='?') +- if stream['protocol'].startswith('HLS'): ++ if 'HLS' in stream['protocol']: + fmts, subs = self._extract_m3u8_formats_and_subtitles( + stream['url'], video_id=video_id, ext='mp4', m3u8_id=stream_version_code, fatal=False) + for fmt in fmts: