mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-01 20:57:54 +01:00
[twitch] PEP8
This commit is contained in:
parent
9df53ea36e
commit
fe646a2f10
@ -104,7 +104,7 @@ class TwitchBaseIE(InfoExtractor):
|
|||||||
login_page, handle, 'Logging in as %s' % username, {
|
login_page, handle, 'Logging in as %s' % username, {
|
||||||
'username': username,
|
'username': username,
|
||||||
'password': password,
|
'password': password,
|
||||||
})
|
})
|
||||||
|
|
||||||
if re.search(r'(?i)<form[^>]+id="two-factor-submit"', redirect_page) is not None:
|
if re.search(r'(?i)<form[^>]+id="two-factor-submit"', redirect_page) is not None:
|
||||||
# TODO: Add mechanism to request an SMS or phone call
|
# TODO: Add mechanism to request an SMS or phone call
|
||||||
|
Loading…
Reference in New Issue
Block a user