Browse Source

[vimeo] one token overlooked

master
pulpe 9 years ago
parent
commit
14a2d6789f
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/vimeo.py

2
youtube_dl/extractor/vimeo.py

@ -439,7 +439,7 @@ class VimeoChannelIE(InfoExtractor):
name="([^"]+)"\s+
value="([^"]*)"
''', login_form))
token = self._search_regex(r'xsrft = \'(.*?)\'', webpage, 'login token')
token = self._search_regex(r'xsrft":"(.*?)"', webpage, 'login token')
fields['token'] = token
fields['password'] = password
post = urlencode_postdata(fields)

Loading…
Cancel
Save