mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[generic] Output something before making network requests
This commit is contained in:
parent
b26559878f
commit
c1d1facd06
|
@ -162,6 +162,8 @@ class GenericIE(InfoExtractor):
|
||||||
return self.url_result('http://' + url)
|
return self.url_result('http://' + url)
|
||||||
video_id = os.path.splitext(url.split('/')[-1])[0]
|
video_id = os.path.splitext(url.split('/')[-1])[0]
|
||||||
|
|
||||||
|
self.to_screen(u'%s: Requesting header' % video_id)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response = self._send_head(url)
|
response = self._send_head(url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue