[generic] Output something before making network requests
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 27 Dec 2013 07:38:42 +0000 (08:38 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 27 Dec 2013 07:38:42 +0000 (08:38 +0100)
youtube_dl/extractor/generic.py

index 7a14c98f9b6ef9d550606c72c330d0730ec1233e..377ae91c4383c78c0749937650097d231a7f2ca8 100644 (file)
@@ -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)