From b1a993407bda7cecb7128495b42b7d78c9535512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Mon, 15 Oct 2018 22:40:25 +0200 Subject: [PATCH] picoboard.pl is no more --- recipes/icons/picoboard_pl.png | Bin 293 -> 0 bytes recipes/picoboard_pl.recipe | 36 --------------------------------- 2 files changed, 36 deletions(-) delete mode 100644 recipes/icons/picoboard_pl.png delete mode 100644 recipes/picoboard_pl.recipe diff --git a/recipes/icons/picoboard_pl.png b/recipes/icons/picoboard_pl.png deleted file mode 100644 index 003631e908c08d5eb5b285daf8a11f538d410043..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 293 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbK}cz{oc>;M1%-vQCP|93&?-QBzI z&fI;s`wS4>T?ItD@6H6FGc#A6=~#899EfI~NduwXqgD4ldV5-^wBLEvc?PlmrPn@k#Le|O@N(j#xwRtE0)agI(Y7Au&PiU9 z`<6uTJ1x%J`t!+-RWn<6eyUhJY5LaLstb%Yjtf2Q{e9?mR@%z8$v-~MDO0?7L_Rl9 c_+K?6*8whphIwi>Ku0lny85}Sb4q9e0K9&V)&Kwi diff --git a/recipes/picoboard_pl.recipe b/recipes/picoboard_pl.recipe deleted file mode 100644 index f61c029aab..0000000000 --- a/recipes/picoboard_pl.recipe +++ /dev/null @@ -1,36 +0,0 @@ -from calibre.web.feeds.news import BasicNewsRecipe - - -class Pikoboard(BasicNewsRecipe): - title = u'Pikoboard.pl' - __author__ = 'fenuks' - description = u'Portal poświęcony takim urządzeniom jak: Raspberry Pi, XBMC, ODROID-X, BeagleBoard czy CuBox. Systemy operacyjne, modyfikacje oraz obudowy i innego rodzaju dodatki.' # noqa - category = 'IT, open source, Linux, Raspberry Pi' - language = 'pl' - cover_url = 'http://picoboard.pl/wp-content/themes/portal/img/logo.jpg' - extra_css = 'img.alignleft {float: left; margin-right: 5px;}' - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - remove_empty_feeds = True - use_embedded_content = False - keep_only_tags = [dict(id=['dzial', 'posts'])] - remove_tags = [dict(attrs={'class': 'post-comments'})] - remove_tags_after = dict(attrs={'class': 'entry clr'}) - feeds = [(u'Newsy', u'http://picoboard.pl/feed/atom/'), - (u'Artyku\u0142y', u'http://picoboard.pl/category/artykuly/feed/')] - - def append_page(self, soup, appendtag): - tag = appendtag.find(attrs={'id': 'paginacja'}) - if tag: - for nexturl in tag.findAll('a'): - soup2 = self.index_to_soup(nexturl['href']) - pagetext = soup2.find(attrs={'class': 'entry clr'}) - pos = len(appendtag.contents) - appendtag.insert(pos, pagetext) - for r in appendtag.findAll(attrs={'id': 'paginacja'}): - r.extract() - - def preprocess_html(self, soup): - self.append_page(soup, soup.body) - return soup