Browse Source
[cctv] Do not fallback on video id extracted from URL
master
Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/cctv.py
|
|
@ -99,7 +99,7 @@ class CCTVIE(InfoExtractor): |
|
|
|
r'videoCenterId["\']\s*,\s*["\']([\da-fA-F]+)', |
|
|
|
r'"changePlayer\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( |
|
|
|
'http://vdn.apps.cntv.cn/api/getHttpVideoInfo.do', video_id, |
|
|
|