mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1197 (Fix Respekt recipe following changes in the website )
This commit is contained in:
parent
834ab1ad2f
commit
742187742a
@ -52,9 +52,9 @@ class respektRecipe(BasicNewsRecipe):
|
||||
def get_browser(self):
|
||||
br = BasicNewsRecipe.get_browser(self)
|
||||
if self.username is not None and self.password is not None:
|
||||
br.open('https://www.respekt.cz/')
|
||||
br.open('https://www.respekt.cz/uzivatel/prihlaseni')
|
||||
for form in br.forms():
|
||||
if form.attrs.get('id') == 'frm-authBox-loginForm':
|
||||
if form.attrs.get('id') == 'frm-loginForm':
|
||||
br.form = form
|
||||
break
|
||||
for c in form.controls:
|
||||
|
Loading…
x
Reference in New Issue
Block a user