aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSurkal <Surkal@users.noreply.github.com>2020-09-24 01:46:58 +0200
committerGitHub <noreply@github.com>2020-09-24 06:46:58 +0700
commit0c92f1e96b004fc7a04eac0759f115a535c8e03a (patch)
tree9521413f61f98658bdcfb1956832094c9a7e2c02 /youtube_dl
parentadae9e844b0a40bf686a142a20c7ca30e4e1145b (diff)
[iprima] Improve video id extraction (#26507) (closes #26494)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/iprima.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py
index 53a550c11..648ae6741 100644
--- a/youtube_dl/extractor/iprima.py
+++ b/youtube_dl/extractor/iprima.py
@@ -86,7 +86,8 @@ class IPrimaIE(InfoExtractor):
(r'<iframe[^>]+\bsrc=["\'](?:https?:)?//(?:api\.play-backend\.iprima\.cz/prehravac/embedded|prima\.iprima\.cz/[^/]+/[^/]+)\?.*?\bid=(p\d+)',
r'data-product="([^"]+)">',
r'id=["\']player-(p\d+)"',
- r'playerId\s*:\s*["\']player-(p\d+)'),
+ r'playerId\s*:\s*["\']player-(p\d+)',
+ r'\bvideos\s*=\s*["\'](p\d+)'),
webpage, 'real id')
playerpage = self._download_webpage(