mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Physics World
This commit is contained in:
parent
f30784352f
commit
5ac40fe90a
@ -27,7 +27,7 @@ class PhysicsWorld(BasicNewsRecipe):
|
|||||||
br = BasicNewsRecipe.get_browser(self)
|
br = BasicNewsRecipe.get_browser(self)
|
||||||
if self.username is not None and self.password is not None:
|
if self.username is not None and self.password is not None:
|
||||||
br.open('http://physicsworld.com/cws/sign-in')
|
br.open('http://physicsworld.com/cws/sign-in')
|
||||||
br.select_form(nr=1)
|
br.select_form(nr=2)
|
||||||
br['username'] = self.username
|
br['username'] = self.username
|
||||||
br['password'] = self.password
|
br['password'] = self.password
|
||||||
br.submit()
|
br.submit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user