Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ralf
youtube-dl
Commits
0c92f1e9
Unverified
Commit
0c92f1e9
authored
Sep 24, 2020
by
Surkal
Committed by
GitHub
Sep 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[iprima] Improve video id extraction (#26507) (closes #26494)
parent
adae9e84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
youtube_dl/extractor/iprima.py
youtube_dl/extractor/iprima.py
+2
-1
No files found.
youtube_dl/extractor/iprima.py
View file @
0c92f1e9
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment