mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[ard:mediathek] Fix video id extraction (Closes #202)
This commit is contained in:
parent
b050d210df
commit
3f6a90eb63
1 changed files with 2 additions and 1 deletions
|
@ -272,7 +272,8 @@ def _real_extract(self, url):
|
|||
else: # request JSON file
|
||||
if not document_id:
|
||||
video_id = self._search_regex(
|
||||
r'/play/(?:config|media)/(\d+)', webpage, 'media id')
|
||||
(r'/play/(?:config|media|sola)/(\d+)', r'contentId["\']\s*:\s*(\d+)'),
|
||||
webpage, 'media id', default=None)
|
||||
info = self._extract_media_info(
|
||||
'http://www.ardmediathek.de/play/media/%s' % video_id,
|
||||
webpage, video_id)
|
||||
|
|
Loading…
Reference in a new issue