[ie/vimeo] Fix login detection (bugfix for 4115c24d15) (#10906)

Authored by: seproDev
This commit is contained in:
sepro 2024-09-02 21:20:37 +02:00 committed by GitHub
parent 7e41628ff5
commit e8e6a982a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -249,7 +249,7 @@ def _call_videos_api(self, video_id, jwt_token, unlisted_hash=None, **kwargs):
def _extract_original_format(self, url, video_id, unlisted_hash=None, jwt=None, api_data=None):
# Original/source formats are only available when logged in
if not self._get_cookies('https://vimeo.com/').get('is_logged_in'):
if not self._get_cookies('https://vimeo.com/').get('vimeo'):
return
query = {'action': 'load_download_config'}