diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-12-20 17:05:28 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-12-20 17:05:39 +0100 |
commit | aa94a6d3159af8333b56d16f3ed0bc3a164a882a (patch) | |
tree | 34c838d89031442e68d941bd7f25e93098ea1ec0 /youtube_dl/extractor/common.py | |
parent | 768df745385a283f4df3a38ee4734feec518ec87 (diff) |
[aparat] Add support (Fixes #2012)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
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)) |