diff options
| author | Sergey M․ <dstftw@gmail.com> | 2017-01-02 23:00:37 +0700 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2017-01-02 23:00:37 +0700 | 
| commit | 327caf661a2b65b4cc09550f471781918cb3b9bf (patch) | |
| tree | 11803627c636cafccb7d74cea6d3e0aaae13ff1c | |
| parent | ce7ccb1caa1c6122329779adfe5993dfd47c4021 (diff) | |
[cctv] Do not fallback on video id extracted from URL
| -rw-r--r-- | youtube_dl/extractor/cctv.py | 2 | 
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,  | 
