From c1d1facd06690bbffc7637be4ace62261b5b2552 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 27 Dec 2013 08:38:42 +0100 Subject: [PATCH] [generic] Output something before making network requests --- youtube_dl/extractor/generic.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.22.2