mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 03:32:05 +00:00
[toutv] Fix login form regex (closes #11223)
This commit is contained in:
parent
748a462fbe
commit
df46b19cb8
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class TouTvIE(InfoExtractor):
|
||||||
'state': state,
|
'state': state,
|
||||||
})
|
})
|
||||||
login_form = self._search_regex(
|
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 = self._hidden_inputs(login_form)
|
||||||
form_data.update({
|
form_data.update({
|
||||||
'login-email': email,
|
'login-email': email,
|
||||||
|
|
Loading…
Reference in a new issue