[vier] Restore video_id extraction from the webpage
This commit is contained in:
parent
16918299dd
commit
dd9327c782
@ -122,6 +122,9 @@ class VierIE(InfoExtractor):
|
|||||||
'http://www.%s.be/video/v3/embed/%s' % (site, video_id),
|
'http://www.%s.be/video/v3/embed/%s' % (site, video_id),
|
||||||
display_id)
|
display_id)
|
||||||
|
|
||||||
|
video_id = self._search_regex(
|
||||||
|
[r'data-nid="(\d+)"', r'"nid"\s*:\s*"(\d+)"'],
|
||||||
|
webpage, 'video id')
|
||||||
application = self._search_regex(
|
application = self._search_regex(
|
||||||
[r'data-application="([^"]+)"', r'"application"\s*:\s*"([^"]+)"'],
|
[r'data-application="([^"]+)"', r'"application"\s*:\s*"([^"]+)"'],
|
||||||
webpage, 'application', default=site + '_vod')
|
webpage, 'application', default=site + '_vod')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user