[vier] Make video_id extraction from page non-fatal
This commit is contained in:
parent
458a3c91ae
commit
f8dfd8371a
@ -125,7 +125,7 @@ class VierIE(InfoExtractor):
|
||||
|
||||
video_id = self._search_regex(
|
||||
[r'data-nid="(\d+)"', r'"nid"\s*:\s*"(\d+)"'],
|
||||
webpage, 'video id')
|
||||
webpage, 'video id', default=video_id)
|
||||
application = self._search_regex(
|
||||
[r'data-application="([^"]+)"', r'"application"\s*:\s*"([^"]+)"'],
|
||||
webpage, 'application', default=site + '_vod')
|
||||
|
Loading…
x
Reference in New Issue
Block a user