diff options
author | Philipp Hagemeister <[email protected]> | 2013-12-27 08:38:42 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2013-12-27 08:38:42 +0100 |
commit | c1d1facd06690bbffc7637be4ace62261b5b2552 (patch) | |
tree | dbb370685b7686e4cd3a60c88ec2a301ff2dba2b | |
parent | b26559878fa47bb13ad283fcad36c3a9ef484528 (diff) | |
download | youtube-dl-c1d1facd06690bbffc7637be4ace62261b5b2552.tar.gz youtube-dl-c1d1facd06690bbffc7637be4ace62261b5b2552.zip |
[generic] Output something before making network requests
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 7a14c98f9..377ae91c4 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -162,6 +162,8 @@ class GenericIE(InfoExtractor): return self.url_result('http://' + url) video_id = os.path.splitext(url.split('/')[-1])[0] + self.to_screen(u'%s: Requesting header' % video_id) + try: response = self._send_head(url) |