diff --git a/recipes/icons/korespondent.png b/recipes/icons/korespondent.png deleted file mode 100644 index dc31544560..0000000000 Binary files a/recipes/icons/korespondent.png and /dev/null differ diff --git a/recipes/korespondent.recipe b/recipes/korespondent.recipe deleted file mode 100644 index fff0946593..0000000000 --- a/recipes/korespondent.recipe +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- - -__license__ = 'GPL v3' -__copyright__ = '2011, Attis ' -__version__ = 'v. 0.1' - -import re -from calibre.web.feeds.recipes import BasicNewsRecipe - -class KorespondentPL(BasicNewsRecipe): - title = u'Korespondent.pl' - publisher = u'Korespondent.pl' - description = u'Centrum wolnorynkowe - serwis ludzi wolnych' - encoding = 'utf-8' - __author__ = 'Attis' - language = 'pl' - oldest_article = 15 - max_articles_per_feed = 100 - remove_javascript = True - no_stylesheets = True - - keep_only_tags = [dict(name='div', attrs={'class':'publicystyka'})] - remove_tags = [{'name': 'meta'}, {'name':'div', 'attrs': {'class': 'zdjecie'} }] - extra_css = '.naglowek {font-size: small}\n .tytul {font-size: x-large; padding-bottom: 10px; padding-top: 30px} \n .external {font-size: small}' - - preprocess_regexps = [ - (re.compile(u'' ), - (re.compile(u'

Więcej'), - lambda match:'Więcej' ), - (re.compile(u'target="_blank"'), - lambda match:'target="_blank" class="external"' ), - (re.compile(u'

\nPoczytaj inne teksty w Serwisie wolnorynkowym Korespondent.pl.*', re.DOTALL|re.IGNORECASE), - lambda match: ''), - ] - - feeds = [(u'Serwis informacyjny', u'http://korespondent.pl/rss.xml')]