mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Adding id of submitBtn for br.submit() to avoid redirected to login page after passing correct email and password.
This commit is contained in:
parent
469ec4d2fe
commit
f1dfdc5c6a
@ -66,7 +66,7 @@ class NikkeiNet_paper_subscription(BasicNewsRecipe):
|
||||
br.select_form(name='LA7010Form01')
|
||||
br['LA7010Form01:LA7010Email'] = self.username
|
||||
br['LA7010Form01:LA7010Password'] = self.password
|
||||
br.submit()
|
||||
br.submit(id='LA7010Form01:submitBtn')
|
||||
# response = br.response()
|
||||
print "-------------------------JS redirect---------------------------------------"
|
||||
br.select_form(nr=0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user