1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[generic] Output something before making network requests

This commit is contained in:
Philipp Hagemeister 2013-12-27 08:38:42 +01:00
parent b26559878f
commit c1d1facd06

View 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)