diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-01-03 01:12:41 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-01-03 01:13:02 +0700 |
commit | 7a9e066972bef4f10822a81653af9d942f15971e (patch) | |
tree | 40b7b289f8ffa899b19d35230af840be3fc3e2bf /youtube_dl/extractor | |
parent | 2021b650dd1af1af63689755d91fc161fd8543b3 (diff) |
[cctv] Relax some video id regexes
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/cctv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/cctv.py b/youtube_dl/extractor/cctv.py index d271cabad..ba69c44b8 100644 --- a/youtube_dl/extractor/cctv.py +++ b/youtube_dl/extractor/cctv.py @@ -97,8 +97,8 @@ class CCTVIE(InfoExtractor): video_id = self._search_regex( [r'var\s+guid\s*=\s*["\']([\da-fA-F]+)', r'videoCenterId["\']\s*,\s*["\']([\da-fA-F]+)', - r'"changePlayer\s*\(\s*["\']([\da-fA-F]+)', - r'"load[Vv]ideo\s*\(\s*["\']([\da-fA-F]+)'], + r'changePlayer\s*\(\s*["\']([\da-fA-F]+)', + r'load[Vv]ideo\s*\(\s*["\']([\da-fA-F]+)'], webpage, 'video id') data = self._download_json( |