From: Philipp Hagemeister Date: Sun, 6 Jan 2013 20:36:01 +0000 (+0100) Subject: fix ComedyCentral IE in Python3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9314810243692e02188b3ec4e1ae8a0c48e66e70;p=youtube-dl fix ComedyCentral IE in Python3 --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index a65ebe179..136e4183e 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -2404,6 +2404,7 @@ class ComedyCentralIE(InfoExtractor): try: htmlHandle = compat_urllib_request.urlopen(req) html = htmlHandle.read() + webpage = html.decode('utf-8') except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err: self._downloader.trouble(u'ERROR: unable to download webpage: %s' % compat_str(err)) return @@ -2418,14 +2419,14 @@ class ComedyCentralIE(InfoExtractor): return epTitle = mobj.group('episode') - mMovieParams = re.findall('(?: