diff options
author | nixxo <[email protected]> | 2022-04-02 07:57:56 +0200 |
---|---|---|
committer | dirkf <[email protected]> | 2022-04-05 15:21:59 +0100 |
commit | 871645a4a4a0e12ec8f7bf78a3ad7bf75838ee5c (patch) | |
tree | 241f65c4ad3fcc8e37ed0cb21571702ae645bfc2 | |
parent | 1f50a07771fddb5f64617617d156bfdd593f951e (diff) | |
download | youtube-dl-871645a4a4a0e12ec8f7bf78a3ad7bf75838ee5c.tar.gz youtube-dl-871645a4a4a0e12ec8f7bf78a3ad7bf75838ee5c.zip |
[RAI] Fix extraction of http formats
From https://github.com/yt-dlp/yt-dlp/pull/3272
Closes https://github.com/yt-dlp/yt-dlp/issues/3270
Authored by: nixxo
-rw-r--r-- | youtube_dl/extractor/rai.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rai.py b/youtube_dl/extractor/rai.py index 7b0315a62..563d3400f 100644 --- a/youtube_dl/extractor/rai.py +++ b/youtube_dl/extractor/rai.py @@ -106,7 +106,7 @@ class RaiBaseIE(InfoExtractor): }.items() if v is not None) def _create_http_urls(self, relinker_url, fmts): - _RELINKER_REG = r'https?://(?P<host>[^/]+?)/(?:i/)?(?P<extra>[^/]+?)/(?P<path>.+?)/(?P<id>\d+)(?:_(?P<quality>[\d\,]+))?(?:\.mp4|/playlist\.m3u8).+?' + _RELINKER_REG = r'https?://(?P<host>[^/]+?)/(?:i/)?(?P<extra>[^/]+?)/(?P<path>.+?)/(?P<id>\w+)(?:_(?P<quality>[\d\,]+))?(?:\.mp4|/playlist\.m3u8).+?' _MP4_TMPL = '%s&overrideUserAgentRule=mp4-%s' _QUALITY = { # tbr: w, h |