Browse Source

[iprima] Improve video id extraction (#26507) (closes #26494)

master
Surkal 1 year ago
committed by GitHub
parent
commit
0c92f1e96b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      youtube_dl/extractor/iprima.py

3
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(

Loading…
Cancel
Save