mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
CNN Money login form URL changed
This commit is contained in:
parent
da9ebad88e
commit
3aeaf65f3b
@ -20,9 +20,8 @@ class Fortune(BasicNewsRecipe):
|
||||
|
||||
def get_browser(self):
|
||||
br = BasicNewsRecipe.get_browser(self)
|
||||
br.open(
|
||||
'http://money.cnn.com/2013/03/21/smallbusiness/legal-marijuana-startups.pr.fortune/index.html')
|
||||
br.select_form(name="paywall-form")
|
||||
br.open('http://money.cnn.com/m/#!login')
|
||||
br.select_form(name="loginForm")
|
||||
br['email'] = self.username
|
||||
br['password'] = self.password
|
||||
br.submit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user