aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-01-02 23:00:37 +0700
committerSergey M․ <dstftw@gmail.com>2017-01-02 23:00:37 +0700
commit327caf661a2b65b4cc09550f471781918cb3b9bf (patch)
tree11803627c636cafccb7d74cea6d3e0aaae13ff1c /youtube_dl
parentce7ccb1caa1c6122329779adfe5993dfd47c4021 (diff)
[cctv] Do not fallback on video id extracted from URL
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/cctv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cctv.py b/youtube_dl/extractor/cctv.py
index c3d163cde..f44256d32 100644
--- a/youtube_dl/extractor/cctv.py
+++ b/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,