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