mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[generic] Do not use compatibility result fallback
This commit is contained in:
parent
f09828b4e1
commit
cecaaf3f58
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue