mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[bbc] Skip mediaselection on gelocation error (Closes #6983)
This commit is contained in:
parent
46fde8a1a2
commit
ee3d5a6d47
@ -294,7 +294,7 @@ def _download_media_selector(self, programme_id):
|
|||||||
return self._download_media_selector_url(
|
return self._download_media_selector_url(
|
||||||
mediaselector_url % programme_id, programme_id)
|
mediaselector_url % programme_id, programme_id)
|
||||||
except BBCCoUkIE.MediaSelectionError as e:
|
except BBCCoUkIE.MediaSelectionError as e:
|
||||||
if e.id == 'notukerror':
|
if e.id in ('notukerror', 'geolocation'):
|
||||||
last_exception = e
|
last_exception = e
|
||||||
continue
|
continue
|
||||||
self._raise_extractor_error(e)
|
self._raise_extractor_error(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user