mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-14 17:26:24 +00:00
[bbc] Skip mediaselection on gelocation error (Closes #6983)
This commit is contained in:
parent
46fde8a1a2
commit
ee3d5a6d47
@ -294,7 +294,7 @@ class BBCCoUkIE(InfoExtractor):
|
|||||||
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