0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +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 @@ def _real_extract(self, url):
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)