mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 00:52:01 +00:00
[generic] Output something before making network requests
This commit is contained in:
parent
b26559878f
commit
c1d1facd06
@ -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 New Issue
Block a user