A Connecticut Princess 2017-02-04 13:23:35 +05:00 committed by Sergey M․
parent 36fce54816
commit 643dc0fcfe
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -281,6 +281,11 @@ class VKIE(VKBaseIE):
{
'url': 'http://new.vk.com/video205387401_165548505',
'only_matching': True,
},
{
# This video is no longer available, because its author has been blocked.
'url': 'https://vk.com/video-10639516_456240611',
'only_matching': True,
}
]
@ -328,6 +333,12 @@ def _real_extract(self, url):
r'<!>Access denied':
'Access denied to video %s.',
r'<!>Видеозапись недоступна, так как её автор был заблокирован.':
'Video %s is no longer available, because its author has been blocked.',
r'<!>This video is no longer available, because its author has been blocked.':
'Video %s is no longer available, because its author has been blocked.',
}
for error_re, error_msg in ERRORS.items():