youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 7a9e066972bef4f10822a81653af9d942f15971e
parent 2021b650dd1af1af63689755d91fc161fd8543b3
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue,  3 Jan 2017 01:12:41 +0700

[cctv] Relax some video id regexes

Diffstat:
Myoutube_dl/extractor/cctv.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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(