diff --git a/recipes/gosc_niedzielny.recipe b/recipes/gosc_niedzielny.recipe index 7ff2d48f84..a7c5ef1ab1 100644 --- a/recipes/gosc_niedzielny.recipe +++ b/recipes/gosc_niedzielny.recipe @@ -13,7 +13,7 @@ class GN(BasicNewsRecipe): __author__ = 'Piotr Kontek, Tomasz Długosz' title = u'Gość Niedzielny' - description = 'Ogólnopolski tygodnik katolicki - fragmenty artykułów z poprzedniego numeru' + description = 'Ogólnopolski tygodnik katolicki - fragmenty artykułów z aktualnego numeru' encoding = 'utf-8' no_stylesheets = True language = 'pl' @@ -24,7 +24,7 @@ class GN(BasicNewsRecipe): doc = html.fromstring(raw) page = doc.xpath('//div[@class="c"]//div[@class="search-result"]/div[1]/div[2]/h1//a/@href') - return page[1] + return page[0] def parse_index(self): soup = self.index_to_soup('http://gosc.pl' + self.find_last_issue()) diff --git a/recipes/icons/kdefamily_pl.png b/recipes/icons/kdefamily_pl.png deleted file mode 100644 index 22335bb2e4..0000000000 Binary files a/recipes/icons/kdefamily_pl.png and /dev/null differ diff --git a/recipes/kdefamily_pl.recipe b/recipes/kdefamily_pl.recipe deleted file mode 100644 index 607d545ca9..0000000000 --- a/recipes/kdefamily_pl.recipe +++ /dev/null @@ -1,20 +0,0 @@ -import re -from calibre.web.feeds.news import BasicNewsRecipe - -class KDEFamilyPl(BasicNewsRecipe): - title = u'KDEFamily.pl' - __author__ = 'fenuks' - description = u'KDE w Polsce' - category = 'open source, KDE' - language = 'pl' - cover_url = 'http://www.mykde.home.pl/kdefamily/wp-content/uploads/2012/07/logotype-e1341585198616.jpg' - oldest_article = 7 - max_articles_per_feed = 100 - preprocess_regexps = [(re.compile(r"Podobne wpisy.*", re.IGNORECASE|re.DOTALL), lambda m: '')] - no_stylesheets = True - remove_empty_feeds = True - use_embedded_content = False - keep_only_tags = [dict(attrs={'class':'blog-post'})] - remove_tags = [dict(attrs={'class':['blog-bottom', 'ratings hreview-aggregate']})] - - feeds = [(u'Wszystko', u'http://kdefamily.pl/feed/')] \ No newline at end of file diff --git a/recipes/les_echos.recipe b/recipes/les_echos.recipe index c22ac9001c..5422ca5b5c 100644 --- a/recipes/les_echos.recipe +++ b/recipes/les_echos.recipe @@ -2,7 +2,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class HindustanTimes(BasicNewsRecipe): title = u'Les Echos' - language = 'en' + language = 'fr' __author__ = 'Krittika Goyal' oldest_article = 1 # days max_articles_per_feed = 25