mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-24 12:58:44 +03:00
generic extraction
This commit is contained in:
@@ -2393,7 +2393,7 @@ class GenericIE(InfoExtractor):
|
||||
full_response = self._request_webpage(url, video_id, headers=filter_dict({
|
||||
'Accept-Encoding': 'identity',
|
||||
'Referer': smuggled_data.get('referer'),
|
||||
}), impersonate=impersonate)
|
||||
}), impersonate=impersonate, expected_status=404)
|
||||
except ExtractorError as e:
|
||||
if not (isinstance(e.cause, HTTPError) and e.cause.status == 403
|
||||
and e.cause.response.get_header('cf-mitigated') == 'challenge'
|
||||
|
||||
Reference in New Issue
Block a user