diff options
Diffstat (limited to 'youtube_dl/extractor/vimeo.py')
| -rw-r--r-- | youtube_dl/extractor/vimeo.py | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index cae90205d..d63c03183 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -452,11 +452,7 @@ class VimeoChannelIE(InfoExtractor):          password = self._downloader.params.get('videopassword', None)          if password is None:              raise ExtractorError('This album is protected by a password, use the --video-password option', expected=True) -        fields = dict(re.findall(r'''(?x)<input\s+ -            type="hidden"\s+ -            name="([^"]+)"\s+ -            value="([^"]*)" -            ''', login_form)) +        fields = self._form_hidden_inputs(login_form)          token = self._search_regex(r'xsrft[\s=:"\']+([^"\']+)', webpage, 'login token')          fields['token'] = token          fields['password'] = password | 
