aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyuszika7h <nyuszika7h@gmail.com>2022-03-28 05:23:44 +0200
committerGitHub <noreply@github.com>2022-03-27 20:23:44 -0700
commitbdd60588b05a1cabd853858125522b920065cad8 (patch)
tree2bec36237d584aeacef76aca8ed3085f28badb37
parentf5f15c9993cf8087753a7ba2b57fee55e366b80e (diff)
downloadhypervideo-pre-bdd60588b05a1cabd853858125522b920065cad8.tar.lz
hypervideo-pre-bdd60588b05a1cabd853858125522b920065cad8.tar.xz
hypervideo-pre-bdd60588b05a1cabd853858125522b920065cad8.zip
[viki] Don't attempt to modify URLs with signature (#3222)
Closes #1379 Authored by: nyuszika7h
-rw-r--r--yt_dlp/extractor/viki.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/viki.py b/yt_dlp/extractor/viki.py
index 8234ba7df..8a930798d 100644
--- a/yt_dlp/extractor/viki.py
+++ b/yt_dlp/extractor/viki.py
@@ -261,7 +261,7 @@ class VikiIE(VikiBaseIE):
mpd_content = self._download_webpage(mpd_url, video_id, note='Downloading initial MPD manifest')
mpd_url = self._search_regex(
r'(?mi)<BaseURL>(http.+.mpd)', mpd_content, 'new manifest', default=mpd_url)
- if 'mpdhd_high' not in mpd_url:
+ if 'mpdhd_high' not in mpd_url and 'sig=' not in mpd_url:
# Modify the URL to get 1080p
mpd_url = mpd_url.replace('mpdhd', 'mpdhd_high')
formats = self._extract_mpd_formats(mpd_url, video_id)