aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-27 08:38:42 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-27 08:38:42 +0100
commitc1d1facd06690bbffc7637be4ace62261b5b2552 (patch)
treedbb370685b7686e4cd3a60c88ec2a301ff2dba2b /youtube_dl
parentb26559878fa47bb13ad283fcad36c3a9ef484528 (diff)
[generic] Output something before making network requests
Diffstat (limited to 'youtube_dl')
-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)