From 90be6ee35d59b3ca9aafdac1f0e615b3ecc0097e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 9 Sep 2012 00:47:28 +0530 Subject: [PATCH] Fix #1047947 (recipe for Die Zeit (subscription only) doesn't work after URL change) --- recipes/zeitde_sub.recipe | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/zeitde_sub.recipe b/recipes/zeitde_sub.recipe index dfa52e8504..b22e9793ed 100644 --- a/recipes/zeitde_sub.recipe +++ b/recipes/zeitde_sub.recipe @@ -118,13 +118,13 @@ class ZeitEPUBAbo(BasicNewsRecipe): def build_index(self): domain = "https://premium.zeit.de" - url = domain + "/abo/zeit_digital" + url = domain + "/abo/digitalpaket" browser = self.get_browser() # new login process response = browser.open(url) # Get rid of nested form - response.set_data(response.get_data().replace('
', '')) + response.set_data(response.get_data().replace('
', '')) browser.set_response(response) browser.select_form(nr=2) browser.form['name']=self.username @@ -177,13 +177,13 @@ class ZeitEPUBAbo(BasicNewsRecipe): try: self.log.warning('Trying PDF-based cover') domain = "https://premium.zeit.de" - url = domain + "/abo/zeit_digital" + url = domain + "/abo/digitalpaket" browser = self.get_browser() # new login process response=browser.open(url) # Get rid of nested form - response.set_data(response.get_data().replace('
', '')) + response.set_data(response.get_data().replace('
', '')) browser.set_response(response) browser.select_form(nr=2)