mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 00:00:48 +01:00
[generic] Do not use compatibility result fallback
This commit is contained in:
parent
f09828b4e1
commit
cecaaf3f58
@ -148,7 +148,7 @@ def _real_extract(self, url):
|
|||||||
try:
|
try:
|
||||||
new_url = self._test_redirect(url)
|
new_url = self._test_redirect(url)
|
||||||
if new_url:
|
if new_url:
|
||||||
return [self.url_result(new_url)]
|
return self.url_result(new_url)
|
||||||
except compat_urllib_error.HTTPError:
|
except compat_urllib_error.HTTPError:
|
||||||
# This may be a stupid server that doesn't like HEAD, our UA, or so
|
# This may be a stupid server that doesn't like HEAD, our UA, or so
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user