|
|
@ -1655,8 +1655,7 @@ class VimeoAlbumIE(VimeoBaseInfoExtractor):
|
|
|
|
if not re.fullmatch(r'[0-9]+', album_id):
|
|
|
|
if not re.fullmatch(r'[0-9]+', album_id):
|
|
|
|
auth_info = self._download_json(
|
|
|
|
auth_info = self._download_json(
|
|
|
|
f'https://vimeo.com/showcase/{album_id}/auth', album_id, 'Downloading album info',
|
|
|
|
f'https://vimeo.com/showcase/{album_id}/auth', album_id, 'Downloading album info',
|
|
|
|
headers={'X-Requested-With': 'XMLHttpRequest', 'Referer': referer},
|
|
|
|
headers={'X-Requested-With': 'XMLHttpRequest'}, expected_status=(401, 403))
|
|
|
|
expected_status=(401, 403))
|
|
|
|
|
|
|
|
album_id = traverse_obj(auth_info, (
|
|
|
|
album_id = traverse_obj(auth_info, (
|
|
|
|
'metadata', 'id', {int}, {str_or_none}, {require('album ID')}))
|
|
|
|
'metadata', 'id', {int}, {str_or_none}, {require('album ID')}))
|
|
|
|
|
|
|
|
|
|
|
|