mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-31 23:02:40 +00:00
Do not use the final URL for -g
This commit is contained in:
parent
44e16fa17f
commit
79f193e5d8
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ class FileDownloader(object):
|
|||
# Verify URL if it's an HTTP one
|
||||
if info_dict['url'].startswith('http'):
|
||||
try:
|
||||
info_dict['url'] = self.verify_url(info_dict['url'].encode('utf-8')).decode('utf-8')
|
||||
self.verify_url(info_dict['url'].encode('utf-8')).decode('utf-8')
|
||||
except (OSError, IOError, urllib2.URLError, httplib.HTTPException, socket.error), err:
|
||||
raise UnavailableFormatError
|
||||
|
||||
|
|
Loading…
Reference in a new issue