diff --git a/recipes/antyweb.recipe b/recipes/antyweb.recipe index 71f8c36b6f..cd7d792c4a 100644 --- a/recipes/antyweb.recipe +++ b/recipes/antyweb.recipe @@ -4,7 +4,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class AntywebRecipe(BasicNewsRecipe): encoding = 'utf-8' __license__ = 'GPL v3' - __author__ = u'Artur Stachecki ' + __author__ = u'Artur Stachecki , adrianf0' language = 'pl' version = 1 title = u'Antyweb' @@ -18,7 +18,7 @@ class AntywebRecipe(BasicNewsRecipe): oldest_article = 7 max_articles_per_feed = 100 remove_javascript = True - simultaneous_downloads = 3 + simultaneous_downloads = 10 ignore_duplicate_articles = {'title', 'url'} # zignoruj zduplikowane artykuły o takich samych tytułach LUB adresach scale_news_images =True conversion_options = { 'tags' : u'news, aplikacje mobilne, Android, iOS, Windows Phone ', @@ -28,11 +28,12 @@ class AntywebRecipe(BasicNewsRecipe): keep_only_tags=[] keep_only_tags.append(dict(name = 'h1')) - keep_only_tags.append(dict(name = 'div', attrs = {'class' : 'entry-cover'})) - keep_only_tags.append(dict(name = 'div', attrs = {'class' : 'news-content'})) - + keep_only_tags.append(dict(name = 'article', attrs = {'class' : 'article'})) + remove_tags =[] + remove_tags.append(dict(name = 'div', attrs = {'class' : 'ac-footer group'})) feeds = [ + (u'News', 'http://feeds.feedburner.com/antyweb'), (u'Felietony', 'http://feeds.feedburner.com/AntywebFelietony'), (u'Apple', 'http://feeds.feedburner.com/AntywebApple'), (u'Gry', 'http://feeds.feedburner.com/AntywebGry'),