From 9ab3406ddb84a84a80f1be788af745d5a407ae23 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 23 May 2012 19:19:31 +0200 Subject: [PATCH] Fix Escapist IE --- youtube_dl/InfoExtractors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index ee8783ffd..0fc39163e 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -2188,11 +2188,12 @@ def _real_extract(self, url): self.report_extraction(showName) try: - webPage = urllib2.urlopen(url).read() + webPageBytes = urllib2.urlopen(url).read() except (urllib2.URLError, httplib.HTTPException, socket.error), err: self._downloader.trouble(u'ERROR: unable to download webpage: ' + unicode(err)) return + webPage = webPageBytes.decode('utf-8') descMatch = re.search('