summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-12-27 08:38:42 +0100
committerPhilipp Hagemeister <[email protected]>2013-12-27 08:38:42 +0100
commitc1d1facd06690bbffc7637be4ace62261b5b2552 (patch)
treedbb370685b7686e4cd3a60c88ec2a301ff2dba2b
parentb26559878fa47bb13ad283fcad36c3a9ef484528 (diff)
downloadyoutube-dl-c1d1facd06690bbffc7637be4ace62261b5b2552.tar.gz
youtube-dl-c1d1facd06690bbffc7637be4ace62261b5b2552.zip
[generic] Output something before making network requests
-rw-r--r--youtube_dl/extractor/generic.py2
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)