From: Philipp Hagemeister Date: Fri, 27 Dec 2013 07:38:42 +0000 (+0100) Subject: [generic] Output something before making network requests X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c1d1facd06690bbffc7637be4ace62261b5b2552;p=youtube-dl [generic] Output something before making network requests --- 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)