diff --git a/recipes/icons/ubuntu_pomoc_org.png b/recipes/icons/ubuntu_pomoc_org.png deleted file mode 100644 index dae22787c4..0000000000 Binary files a/recipes/icons/ubuntu_pomoc_org.png and /dev/null differ diff --git a/recipes/icons/wprost.png b/recipes/icons/wprost.png deleted file mode 100644 index 69673d5c41..0000000000 Binary files a/recipes/icons/wprost.png and /dev/null differ diff --git a/recipes/icons/wprost_rss.png b/recipes/icons/wprost_rss.png deleted file mode 100644 index 69673d5c41..0000000000 Binary files a/recipes/icons/wprost_rss.png and /dev/null differ diff --git a/recipes/icons/wysokie_obcasy.png b/recipes/icons/wysokie_obcasy.png deleted file mode 100644 index b849cd1f3d..0000000000 Binary files a/recipes/icons/wysokie_obcasy.png and /dev/null differ diff --git a/recipes/tvp_info.recipe b/recipes/tvp_info.recipe deleted file mode 100644 index 0833ffca48..0000000000 --- a/recipes/tvp_info.recipe +++ /dev/null @@ -1,31 +0,0 @@ -# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai -from calibre.web.feeds.news import BasicNewsRecipe - - -class TVPINFO(BasicNewsRecipe): - title = u'TVP.INFO' - __author__ = 'fenuks' - description = u'Serwis informacyjny TVP.INFO' - category = 'news' - language = 'pl' - cover_url = 'http://s.v3.tvp.pl/files/tvp-info/gfx/logo.png' - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - remove_empty_feeds = True - remove_javascript = True - use_embedded_content = False - ignore_duplicate_articles = {'title', 'url'} - keep_only_tags = [dict(id='contentNews')] - remove_tags = [dict(attrs={'class': [ - 'toolbox', 'modulBox read', 'modulBox social', 'videoPlayerBox']}), dict(id='belka')] - feeds = [ - (u'Wiadomo\u015bci', u'http://tvp.info/informacje?xslt=tvp-info/news/rss.xslt&src_id=191865'), - (u'\u015awiat', u'http://tvp.info/informacje/swiat?xslt=tvp-info/news/rss.xslt&src_id=191867'), - (u'Biznes', u'http://tvp.info/informacje/biznes?xslt=tvp-info/news/rss.xslt&src_id=191868'), - (u'Nauka', u'http://tvp.info/informacje/nauka?xslt=tvp-info/news/rss.xslt&src_id=191870'), - (u'Kultura', u'http://tvp.info/informacje/kultura?xslt=tvp-info/news/rss.xslt&src_id=191869'), - (u'Rozmaito\u015bci', u'http://tvp.info/informacje/rozmaitosci?xslt=tvp-info/news/rss.xslt&src_id=191872'), - (u'Opinie', u'http://tvp.info/opinie?xslt=tvp-info/news/rss.xslt&src_id=191875'), - (u'Komentarze', u'http://tvp.info/opinie/komentarze?xslt=tvp-info/news/rss.xslt&src_id=238200'), - (u'Wywiady', u'http://tvp.info/opinie/wywiady?xslt=tvp-info/news/rss.xslt&src_id=236644')] diff --git a/recipes/ubuntu_pomoc_org.recipe b/recipes/ubuntu_pomoc_org.recipe deleted file mode 100644 index be082d856e..0000000000 --- a/recipes/ubuntu_pomoc_org.recipe +++ /dev/null @@ -1,25 +0,0 @@ -import re -from calibre.web.feeds.news import BasicNewsRecipe - - -class UbuntuPomoc(BasicNewsRecipe): - title = u'Ubuntu-pomoc.org' - __author__ = 'fenuks' - description = u'Strona poświęcona systemowi Ubuntu Linux. Znajdziesz tutaj przydatne i sprawdzone poradniki oraz sposoby rozwiązywania wielu popularnych problemów. Ten blog rozwiąże każdy Twój problem - jeśli nie teraz, to wkrótce! :)' # noqa - category = 'Linux, Ubuntu, open source' - language = 'pl' - cover_url = 'http://www.ubuntu-pomoc.org/grafika/ubuntupomoc.png' - preprocess_regexps = [(re.compile( - r'
.+', re.IGNORECASE | re.DOTALL), lambda m: '')] - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - remove_javascript = True - remove_empty_feeds = True - use_embedded_content = False - remove_attrs = ['style'] - keep_only_tags = [dict(name='article')] - remove_tags = [dict( - attrs={'class': ['yarpp-related', 'youtube_sc', 'share']}), dict(name='footer')] - feeds = [(u'Ca\u0142o\u015b\u0107', u'http://feeds.feedburner.com/Ubuntu-Pomoc'), - ] diff --git a/recipes/wolne_media.recipe b/recipes/wolne_media.recipe index a78053bb56..79cb1f9f7a 100644 --- a/recipes/wolne_media.recipe +++ b/recipes/wolne_media.recipe @@ -23,6 +23,9 @@ class wolne_media(BasicNewsRecipe): remove_javascript = True no_stylesheets = True auto_cleanup = True + ignore_duplicate_articles = {'url'} + + remove_tags = [dict(name='p', attrs={'class': 'tags'})] feeds = [ (u'Wiadomości z kraju', u'http://wolnemedia.net/category/wiadomosci-z-kraju/feed/'), diff --git a/recipes/wprost.recipe b/recipes/wprost.recipe deleted file mode 100644 index 4c2e08e88d..0000000000 --- a/recipes/wprost.recipe +++ /dev/null @@ -1,100 +0,0 @@ -#!/usr/bin/env python2 - -__license__ = 'GPL v3' -__copyright__ = '''2010, matek09, matek09@gmail.com - Modified 2011, Mariusz Wolek - Modified 2012, Artur Stachecki ''' - -from calibre.web.feeds.news import BasicNewsRecipe -import re - - -class Wprost(BasicNewsRecipe): - EDITION = 0 - FIND_LAST_FULL_ISSUE = True - EXCLUDE_LOCKED = True - ICO_BLOCKED = 'http://www.wprost.pl/G/layout2/ico_blocked.png' - title = u'Wprost' - __author__ = 'matek09' - description = u'Popularny tygodnik ogólnopolski - Wprost. Najlepszy wśród polskich tygodników - opiniotwórczy - społeczno-informacyjny - społeczno-kulturalny.' # noqa - encoding = 'ISO-8859-2' - no_stylesheets = True - language = 'pl' - remove_javascript = True - recursions = 0 - remove_tags_before = dict(dict(name='div', attrs={'id': 'print-layer'})) - remove_tags_after = dict(dict(name='div', attrs={'id': 'print-layer'})) - ''' - keep_only_tags =[] - keep_only_tags.append(dict(name = 'table', attrs = {'id' : 'title-table'})) - keep_only_tags.append(dict(name = 'div', attrs = {'class' : 'div-header'})) - keep_only_tags.append(dict(name = 'div', attrs = {'class' : 'div-content'})) - keep_only_tags.append(dict(name = 'div', attrs = {'class' : 'def element-autor'})) - ''' - - preprocess_regexps = [(re.compile(r'style="display: none;"'), lambda match: ''), - (re.compile(r'display: block;'), lambda match: ''), - (re.compile(r'\\\<\/table\>'), lambda match: ''), - (re.compile(r'\'), lambda match: ''), - (re.compile(r'\'), lambda match: ''), - (re.compile(r'\
'), lambda match: ''), - (re.compile(r'\