mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-14 11:07:50 +01:00
[generic] Do not use compatibility result fallback
This commit is contained in:
parent
f09828b4e1
commit
cecaaf3f58
@ -148,7 +148,7 @@ class GenericIE(InfoExtractor):
|
|||||||
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