mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 04:02:11 +00:00
[generic] Output something before making network requests
This commit is contained in:
parent
b26559878f
commit
c1d1facd06
1 changed files with 2 additions and 0 deletions
|
@ -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