mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-06 11:15:07 +01:00
...
This commit is contained in:
parent
94a6fcadcf
commit
cb9bec2b36
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class Fortune(BasicNewsRecipe):
|
||||||
def get_browser(self):
|
def get_browser(self):
|
||||||
br = BasicNewsRecipe.get_browser(self)
|
br = BasicNewsRecipe.get_browser(self)
|
||||||
if self.username and self.password:
|
if self.username and self.password:
|
||||||
br.open('http://fortune.com/sitemap/')
|
br.open('https://fortune.com/')
|
||||||
br.select_form(id='sign-in-form')
|
br.select_form(id='sign-in-form')
|
||||||
br['username'] = self.username
|
br['username'] = self.username
|
||||||
br['password'] = self.password
|
br['password'] = self.password
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue