Browse Source

[toutv] Fix login form regex (closes #11223)

totalwebcasting
Sergey M․ 8 years ago
parent
commit
df46b19cb8
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/toutv.py

+ 1
- 1
youtube_dl/extractor/toutv.py View File

@ -56,7 +56,7 @@ class TouTvIE(InfoExtractor):
'state': state,
})
login_form = self._search_regex(
r'(?s)(<form[^>]+id="Form-login".+?</form>)', login_webpage, 'login form')
r'(?s)(<form[^>]+(?:id|name)="Form-login".+?</form>)', login_webpage, 'login form')
form_data = self._hidden_inputs(login_form)
form_data.update({
'login-email': email,


Loading…
Cancel
Save