0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[generic] Do not use compatibility result fallback

This commit is contained in:
Philipp Hagemeister 2013-12-17 12:04:33 +01:00
parent f09828b4e1
commit cecaaf3f58

View file

@ -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