diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-11-19 01:56:31 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-11-19 01:56:31 +0700 |
commit | df46b19cb82b90807693d0d25ac5d817546dd63b (patch) | |
tree | 064e814839b6892e17ed4204e11722d1c462c376 /youtube_dl/extractor/toutv.py | |
parent | 748a462fbecc9c006d8e9ed6b3f596ff1893cf39 (diff) |
[toutv] Fix login form regex (closes #11223)
Diffstat (limited to 'youtube_dl/extractor/toutv.py')
-rw-r--r-- | youtube_dl/extractor/toutv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/toutv.py b/youtube_dl/extractor/toutv.py index 573f2ff6b..26d770992 100644 --- a/youtube_dl/extractor/toutv.py +++ b/youtube_dl/extractor/toutv.py @@ -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, |