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

[bbc] Skip mediaselection on gelocation error (Closes #6983)

This commit is contained in:
Sergey M․ 2015-09-26 19:57:17 +06:00
parent 46fde8a1a2
commit ee3d5a6d47

View file

@ -294,7 +294,7 @@ def _download_media_selector(self, programme_id):
return self._download_media_selector_url(
mediaselector_url % programme_id, programme_id)
except BBCCoUkIE.MediaSelectionError as e:
if e.id == 'notukerror':
if e.id in ('notukerror', 'geolocation'):
last_exception = e
continue
self._raise_extractor_error(e)