mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[cctv] Relax some video id regexes
This commit is contained in:
parent
2021b650dd
commit
7a9e066972
|
@ -97,8 +97,8 @@ class CCTVIE(InfoExtractor):
|
||||||
video_id = self._search_regex(
|
video_id = self._search_regex(
|
||||||
[r'var\s+guid\s*=\s*["\']([\da-fA-F]+)',
|
[r'var\s+guid\s*=\s*["\']([\da-fA-F]+)',
|
||||||
r'videoCenterId["\']\s*,\s*["\']([\da-fA-F]+)',
|
r'videoCenterId["\']\s*,\s*["\']([\da-fA-F]+)',
|
||||||
r'"changePlayer\s*\(\s*["\']([\da-fA-F]+)',
|
r'changePlayer\s*\(\s*["\']([\da-fA-F]+)',
|
||||||
r'"load[Vv]ideo\s*\(\s*["\']([\da-fA-F]+)'],
|
r'load[Vv]ideo\s*\(\s*["\']([\da-fA-F]+)'],
|
||||||
webpage, 'video id')
|
webpage, 'video id')
|
||||||
|
|
||||||
data = self._download_json(
|
data = self._download_json(
|
||||||
|
|
Loading…
Reference in a new issue