mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 00:47:39 +00:00
[cctv] Do not fallback on video id extracted from URL
This commit is contained in:
parent
ce7ccb1caa
commit
327caf661a
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class CCTVIE(InfoExtractor):
|
||||||
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', default=video_id)
|
webpage, 'video id')
|
||||||
|
|
||||||
data = self._download_json(
|
data = self._download_json(
|
||||||
'http://vdn.apps.cntv.cn/api/getHttpVideoInfo.do', video_id,
|
'http://vdn.apps.cntv.cn/api/getHttpVideoInfo.do', video_id,
|
||||||
|
|
Loading…
Reference in a new issue