aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-20 17:05:28 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-20 17:05:39 +0100
commitaa94a6d3159af8333b56d16f3ed0bc3a164a882a (patch)
tree34c838d89031442e68d941bd7f25e93098ea1ec0 /youtube_dl/extractor/common.py
parent768df745385a283f4df3a38ee4734feec518ec87 (diff)
downloadyoutube-dl-aa94a6d3159af8333b56d16f3ed0bc3a164a882a.tar.xz
[aparat] Add support (Fixes #2012)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index f89df57ed..ba46a7bc7 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -170,6 +170,8 @@ class InfoExtractor(object):
try:
return self._downloader.urlopen(url_or_request)
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
+ if errnote is False:
+ return False
if errnote is None:
errnote = u'Unable to download webpage'
errmsg = u'%s: %s' % (errnote, compat_str(err))