From 3c1e81f868d265ae7a121e93295c0f1445fc336b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Sat, 6 Oct 2018 23:43:37 +0200 Subject: [PATCH] apparently no recent content --- recipes/icons/tawernarpg_pl.png | Bin 770 -> 0 bytes recipes/tawernarpg_pl.recipe | 36 -------------------------------- 2 files changed, 36 deletions(-) delete mode 100644 recipes/icons/tawernarpg_pl.png delete mode 100644 recipes/tawernarpg_pl.recipe diff --git a/recipes/icons/tawernarpg_pl.png b/recipes/icons/tawernarpg_pl.png deleted file mode 100644 index dac6d4bd2dfe8ba943368f523b4272099daca00a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 770 zcmV+d1O5DoP)ai*x)ZHtVk#fEKHP{ zp{;<8A&u0kq5y6SO%&S35siuM*gl_s+z;FLSb}6_fREsR)E|H6)Z6uyLe>S?;26a* z&C2&HahzODpO|yH-P*?9?$(N1D3&t084{Tk3ldW&xQ%ZfUtTcvU zkt7LzyGkx!z)%^aq0l-($h3!!E&=`yIMUhi!=2hPP!Ry<&*U#p=hR2GZ9Cm? z%-K^5xU&WFv&;PQ>jS29CMPnAcCAUXUZof53a|`dq^7L3=NGIib2HiS_E!5tp%ceW zdZkB?s%XPyVevGzMw?zJ={Nr(=M?Dm!?FkSCasU7T07*qoM6N<$f^}Pb AbpQYW diff --git a/recipes/tawernarpg_pl.recipe b/recipes/tawernarpg_pl.recipe deleted file mode 100644 index 0b0b3340ce..0000000000 --- a/recipes/tawernarpg_pl.recipe +++ /dev/null @@ -1,36 +0,0 @@ -__license__ = 'GPL v3' -import re -from calibre.web.feeds.news import BasicNewsRecipe - - -class TawernaRPG(BasicNewsRecipe): - title = u'Tawerna RPG' - __author__ = 'fenuks' - description = u'Tawerna RPG to ogólnopolski serwis zajmujący się fantastyką i grami fantastycznymi. Znajdziesz u nas zarówno gry fabularne, karciane, planszowe i komputerowe, a także recenzje, opowiadania i sporą dawkę humoru.' # noqa - category = 'fantasy, rpg, board games' - language = 'pl' - extra_css = '.slajd {list-style-type: none; padding-left: 0px; margin-left: 0px;} .lewanc {float: left; margin-right: 5px;} .srodek {display: block; margin-left: auto; margin-right: auto;}' # noqa - cover_url = 'http://www.tawerna.rpg.pl/img/logo.png' - preprocess_regexps = [(re.compile(u'

Dodaj komentarz

.*', - re.DOTALL | re.IGNORECASE), lambda match: '')] - use_embedded_content = False - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - remove_empty_feeds = True - remove_javascript = True - remove_attributes = ['style', 'font'] - ignore_duplicate_articles = {'title', 'url'} - - keep_only_tags = [dict(id='site')] - remove_tags = [dict(id=['player', 'komentarz'])] - remove_tags_after = dict(id='komentarz') - - feeds = [(u'Artykuły', 'http://www.tawerna.rpg.pl/css/rss.rss')] - - def preprocess_html(self, soup): - for r in soup.findAll(attrs={'class': 'powi'}): - r.parent.extract() - for c in soup.findAll(name=['li', 'ol', 'ul']): - c.name = 'div' - return soup