diff options
author | Sergey M․ <[email protected]> | 2016-02-12 03:16:26 +0600 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-02-12 03:16:26 +0600 |
commit | b826035dd5948d598e29bc17c9d08e3c4d77abbc (patch) | |
tree | 9f4f4a0213199fe0c95082c76d252963998220a0 /youtube_dl/extractor/vimeo.py | |
parent | a7cab4d03927c90b8db12fda627022996e560c78 (diff) | |
download | youtube-dl-b826035dd5948d598e29bc17c9d08e3c4d77abbc.tar.gz youtube-dl-b826035dd5948d598e29bc17c9d08e3c4d77abbc.zip |
[vimeo] Fix authentication (Closes #8520)
Diffstat (limited to 'youtube_dl/extractor/vimeo.py')
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 2389e7f0f..6a8f9b49d 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', |