mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 18:32:18 +00:00
[vimeo] Fix authentication (Closes #8520)
This commit is contained in:
parent
a7cab4d039
commit
b826035dd5
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def _login(self):
|
||||||
|
|
||||||
def _extract_xsrft_and_vuid(self, webpage):
|
def _extract_xsrft_and_vuid(self, webpage):
|
||||||
xsrft = self._search_regex(
|
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')
|
webpage, 'login token', group='xsrft')
|
||||||
vuid = self._search_regex(
|
vuid = self._search_regex(
|
||||||
r'["\']vuid["\']\s*:\s*(["\'])(?P<vuid>.+?)\1',
|
r'["\']vuid["\']\s*:\s*(["\'])(?P<vuid>.+?)\1',
|
||||||
|
|
Loading…
Reference in a new issue