[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 @@ class ARDMediathekIE(ARDMediathekBaseIE):
|
||||||
else: # request JSON file
|
else: # request JSON file
|
||||||
if not document_id:
|
if not document_id:
|
||||||
video_id = self._search_regex(
|
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(
|
info = self._extract_media_info(
|
||||||
'http://www.ardmediathek.de/play/media/%s' % video_id,
|
'http://www.ardmediathek.de/play/media/%s' % video_id,
|
||||||
webpage, video_id)
|
webpage, video_id)
|
||||||
|
|
Loading…
Reference in a new issue