diff --git a/recipes/money_pl.recipe b/recipes/money_pl.recipe index 475c2059ff..8171d05a07 100644 --- a/recipes/money_pl.recipe +++ b/recipes/money_pl.recipe @@ -60,7 +60,7 @@ class FocusRecipe(BasicNewsRecipe): ] def print_version(self, url): - if url.count ('money.pl.feedsportal.com'): + if url.count ('money.pl.feedsportal.com'): u = url.find('0Cartykul0C') u = 'http://www.m.money.pl/wiadomosci/artykul/' + url[u + 21:] u = u.replace('0C', '/') @@ -71,6 +71,6 @@ class FocusRecipe(BasicNewsRecipe): u = u.replace ('0B','.') u = u.replace (',0,',',-1,') u = u.replace('0Tutm0Isource0Frss0Gutm0Imedium0Frss0Gutm0Icampaign0Frss/story01.htm', '') - else: + else: u = url.replace('/nc/1','/do-druku/1') - return u + return u diff --git a/recipes/myapple_pl.recipe b/recipes/myapple_pl.recipe index df5708a325..6f7f37633e 100644 --- a/recipes/myapple_pl.recipe +++ b/recipes/myapple_pl.recipe @@ -44,6 +44,6 @@ class MyAppleRecipe(BasicNewsRecipe): def preprocess_html(self, soup): for alink in soup.findAll('a'): if alink.string is not None: - tstr = alink.string - alink.replaceWith(tstr) + tstr = alink.string + alink.replaceWith(tstr) return soup diff --git a/recipes/satkurier.recipe b/recipes/satkurier.recipe index 382f7f8180..6c7520f47b 100644 --- a/recipes/satkurier.recipe +++ b/recipes/satkurier.recipe @@ -8,10 +8,7 @@ class SATKurier(BasicNewsRecipe): title = u'SATKurier.pl' __author__ = 'Artur Stachecki ' language = 'pl' - description = u'Największy i najstarszy serwis poświęcony\ - telewizji cyfrowej, przygotowywany przez wydawcę\ - miesięcznika SAT Kurier. Bieżące wydarzenia\ - z rynku mediów i nowych technologii.' + description = u'Serwis poświęcony telewizji cyfrowej' oldest_article = 7 masthead_url = 'http://satkurier.pl/img/header_sk_logo.gif' max_articles_per_feed = 100