From a65292eb46dc54c29a51ea7509538dd8b17b67a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Tue, 16 Oct 2018 00:49:56 +0200 Subject: [PATCH] too little content --- recipes/icons/osworld_pl.png | Bin 466 -> 0 bytes recipes/osworld_pl.recipe | 36 ----------------------------------- 2 files changed, 36 deletions(-) delete mode 100644 recipes/icons/osworld_pl.png delete mode 100644 recipes/osworld_pl.recipe diff --git a/recipes/icons/osworld_pl.png b/recipes/icons/osworld_pl.png deleted file mode 100644 index 5ec7966931ee72974f481dc8fe95ce834b44344f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 466 zcmV;@0WJQCP)zCN!65uHV1@(?8o+zwh+b`Myq_bHe{owX16$O`PXGkGaV~>IezbnsZF> zjY;wxXALhHVvOo(0~GC)*v36Ja)5mV3e>WJXEgG!xrGuLw$n@CYGS}DzA~Q*`k0fF z7MoEZikEcrfjsNUagsAE;4P=wLQP6)p`S92#LY!oS;4y4M>>dNKSg#&N4rZsfkW&i z#GbPwQ7>YWYSOd@X@pVEF+dd|Hb_&VPVj%uE8 zf-Ea(^>Bx!JmNFM{A8R5+~5-z$TCQM@+rUJ3KhH~u$5y3X7P%0ZgX~~ z&(u$mcJ?rvOQflzjbC&UB4smt=SE8#4UAFA1mzUyVrXjrUqbyL-{>Mme*gdg07*qo IM6N<$f;L0cZ2$lO diff --git a/recipes/osworld_pl.recipe b/recipes/osworld_pl.recipe deleted file mode 100644 index 011a429f27..0000000000 --- a/recipes/osworld_pl.recipe +++ /dev/null @@ -1,36 +0,0 @@ -from calibre.web.feeds.news import BasicNewsRecipe - - -class OSWorld(BasicNewsRecipe): - title = u'OSWorld.pl' - __author__ = 'fenuks' - description = u'OSWorld.pl to serwis internetowy, dzięki któremu poznasz czym naprawdę jest Open Source. Serwis poświęcony jest wolnemu oprogramowaniu jak linux mint, centos czy ubunty. Znajdziecie u nasz artykuły, unity oraz informacje o certyfikatach CACert. OSWorld to mały świat wielkich systemów!' # noqa - category = 'OS, IT, open source, Linux' - language = 'pl' - cover_url = 'http://osworld.pl/wp-content/uploads/osworld-kwadrat-128x111.png' - 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'Artyku\u0142y', u'http://osworld.pl/category/artykuly/feed/'), - (u'Nowe wersje', u'http://osworld.pl/category/nowe-wersje/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