From bd09779cd8d29d5f1e9732418de2d994dca1e47d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Sat, 13 Oct 2018 22:50:37 +0200 Subject: [PATCH] broken rss feed --- recipes/icons/racjonalista_pl.png | Bin 201 -> 0 bytes recipes/racjonalista_pl.recipe | 58 ------------------------------ 2 files changed, 58 deletions(-) delete mode 100644 recipes/icons/racjonalista_pl.png delete mode 100644 recipes/racjonalista_pl.recipe diff --git a/recipes/icons/racjonalista_pl.png b/recipes/icons/racjonalista_pl.png deleted file mode 100644 index d8e42d6e11df19e94f19c09a2c326b1738b3ea9e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6CV09yhE&{2mgsq~^=apYawCaD zowcw2=Z4?3^^1CXU;StN7sIxuDFJQ&bN=6Tc6`$k%JW~=>7s}ZyHwe+yL*Y{!x>$4aTYJ7~-3wi|I*Oa!{{l0E(@w*t|Nk2Wfo@~)boFyt=akR{01^gO AN&o-= diff --git a/recipes/racjonalista_pl.recipe b/recipes/racjonalista_pl.recipe deleted file mode 100644 index 16a98f2b0c..0000000000 --- a/recipes/racjonalista_pl.recipe +++ /dev/null @@ -1,58 +0,0 @@ -__copyright__ = '2012, Micha\u0142 ' -''' -Racjonalista.pl -''' - -from calibre.web.feeds.news import BasicNewsRecipe -import re - - -class Racjonalista(BasicNewsRecipe): - __author__ = u'Micha\u0142 ' - publisher = u'Fundacja Wolnej My\u015bli' - title = u'Racjonalista.pl' - description = u'Racjonalista.pl' - category = 'newspaper' - language = 'pl' - encoding = 'iso-8859-2' - oldest_article = 7 - max_articles_per_feed = 20 - remove_javascript = True - no_stylesheets = True - use_embedded_content = False - simultaneous_downloads = 2 - timeout = 30 - cover_url = 'http://www.racjonalista.pl/img/uimg/rac.gif' - - feeds = [(u'Racjonalista.pl', u'http://www.racjonalista.pl/rss.php')] - - match_regexps = [r'kk\.php'] - - def print_version(self, url): - return url.replace('/s,', '/t,') - - extra_css = 'h2 {font: serif large} .cytat {text-align: right}' - - remove_attributes = ['target', 'width', 'height'] - - preprocess_regexps = [ - (re.compile(i[0], re.DOTALL), i[1]) for i in - [(r']*> 

', lambda match: ''), - (r' ', lambda match: ' '), - (r']+>', lambda match: ''), - (r']+>', lambda match: ''), - (r'', lambda match: ''), - (r'[^<]+)', - lambda match: '' + match.group('a') + ''), - (r'
(?P[^<]+)
', - lambda match: '

' + match.group('t') + '

'), - (r'
', lambda match: ''), # noqa - (r'
', lambda match: ''), - (r'
', lambda match: ''), - (r']+>(?P

[^<]+)', - lambda match: '' + match.group('p') + ''), - (r']+>(?P[^<]+)', lambda match: match.group('a')), - (r'Orygin[^<]+', - lambda match: ''), - (r'Poka[^<]+', lambda match: '')] - ]