mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-07 13:47:54 +01:00
[vevo] raise error on geo restricted videos
This commit is contained in:
parent
3d586c09b2
commit
7906460606
@ -228,6 +228,8 @@ class VevoIE(VevoBaseIE):
|
||||
version = self._VERSIONS.get(video_version.get('version'), 'generic')
|
||||
version_url = video_version.get('url')
|
||||
if not version_url:
|
||||
if video_version.get('errorCode') == 'video-not-viewable-in-country':
|
||||
raise self.raise_geo_restricted()
|
||||
continue
|
||||
|
||||
if '.ism' in version_url:
|
||||
|
Loading…
Reference in New Issue
Block a user