From 742187742a4984354d1b72ab0a175a75e89b1aec Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 22 Jul 2020 19:10:55 +0530 Subject: [PATCH] Fix #1197 (Fix Respekt recipe following changes in the website ) --- recipes/respekt_magazine.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/respekt_magazine.recipe b/recipes/respekt_magazine.recipe index fcad26fc79..7d7aa5b10f 100644 --- a/recipes/respekt_magazine.recipe +++ b/recipes/respekt_magazine.recipe @@ -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: