diff options
| author | M.Yasoob Khalid <yasoob.khld@gmail.com> | 2013-06-26 18:46:05 +0500 | 
|---|---|---|
| committer | M.Yasoob Khalid <yasoob.khld@gmail.com> | 2013-06-26 18:46:05 +0500 | 
| commit | f64e7695a174b597d62a7cd6211d69b5b0f0d0a0 (patch) | |
| tree | fadcbc0d85f2bf471b0e98b8881c605015299fd8 /youtube_dl/extractor/wimp.py | |
| parent | 5abeaf06506b35e4c0db315e847ce32843742fe2 (diff) | |
added b'' to my regex expression in order to solve the error on python 3
Diffstat (limited to 'youtube_dl/extractor/wimp.py')
| -rw-r--r-- | youtube_dl/extractor/wimp.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/youtube_dl/extractor/wimp.py b/youtube_dl/extractor/wimp.py index 811b37cc1..9ff5112a6 100644 --- a/youtube_dl/extractor/wimp.py +++ b/youtube_dl/extractor/wimp.py @@ -14,7 +14,7 @@ class WimpIE(InfoExtractor):          thumbnail_url = self._search_regex('\<meta property\=\"og\:image" content\=\"(.+?)\" />',webpage,'video thumbnail')          googleString = self._search_regex("googleCode = '(.*?)'", webpage,'file url')          googleString = base64.b64decode(googleString) -        final_url = self._search_regex('","(.*?)"', googleString,'final video url') +        final_url = self._search_regex(b'","(.*?)"', googleString,'final video url')          ext = final_url.split('.')[-1]          return [{              'id':        video_id, | 
