diff options
author | Pierre Rudloff <contact@rudloff.pro> | 2013-08-28 11:02:12 +0200 |
---|---|---|
committer | Pierre Rudloff <contact@rudloff.pro> | 2013-08-28 11:02:12 +0200 |
commit | 1301a0dd426a88ed39d38ac6ad04e9000c7811a4 (patch) | |
tree | 9c6dc83aa9e3a4f03d2b4ac183ec8aeda945a14b /youtube_dl/extractor/common.py | |
parent | c5b921b5975f84ec31077cf5333f14736efe40b6 (diff) | |
parent | af8bd6a82d140e5a776185707a9b21d5b8a9fe52 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 52c4483c9..12169b2bb 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -129,7 +129,7 @@ class InfoExtractor(object): except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err: if errnote is None: errnote = u'Unable to download webpage' - raise ExtractorError(u'%s: %s' % (errnote, compat_str(err)), sys.exc_info()[2]) + raise ExtractorError(u'%s: %s' % (errnote, compat_str(err)), sys.exc_info()[2], cause=err) def _download_webpage_handle(self, url_or_request, video_id, note=None, errnote=None): """ Returns a tuple (page content as string, URL handle) """ |