From: Sergey M․ Date: Mon, 2 Jan 2017 16:00:37 +0000 (+0700) Subject: [cctv] Do not fallback on video id extracted from URL X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=327caf661a2b65b4cc09550f471781918cb3b9bf;p=youtube-dl.git [cctv] Do not fallback on video id extracted from URL --- 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,