A feature-rich command-line audio/video downloader
[vimeo] Fix authentication (Closes #8520)
Sergey M․b826035dd594
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.pyindex 2389e7f0f4..6a8f9b49dd 100644--- a/youtube_dl/extractor/vimeo.py+++ b/youtube_dl/extractor/vimeo.py@@ -57,7 +57,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):def _extract_xsrft_and_vuid(self, webpage):xsrft = self._search_regex(- r'xsrft\s*[=:]\s*(?P<q>["\'])(?P<xsrft>.+?)(?P=q)',+ r'(?:(?P<q1>["\'])xsrft(?P=q1)\s*:|xsrft\s*[=:])\s*(?P<q>["\'])(?P<xsrft>.+?)(?P=q)',webpage, 'login token', group='xsrft')vuid = self._search_regex(r'["\']vuid["\']\s*:\s*(["\'])(?P<vuid>.+?)\1',