logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: a834622b89031dad5afbf96e4a5939a66b0d054b
parent 707bb426b16c69c93d593a3e3b68322a8691afd4
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date:   Sat, 14 May 2016 20:02:40 +0800

Merge pull request #9492 from jwilk/teamcoco

[teamcoco] Fix base64 regexp

Diffstat:

Myoutube_dl/extractor/teamcoco.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/teamcoco.py b/youtube_dl/extractor/teamcoco.py @@ -88,7 +88,7 @@ class TeamcocoIE(InfoExtractor): preload_codes = self._html_search_regex( r'(function.+)setTimeout\(function\(\)\{playlist', webpage, 'preload codes') - base64_fragments = re.findall(r'"([a-zA-z0-9+/=]+)"', preload_codes) + base64_fragments = re.findall(r'"([a-zA-Z0-9+/=]+)"', preload_codes) base64_fragments.remove('init') def _check_sequence(cur_fragments):