From 8ba7ce9c464a4e9c83f49d8c5b082afd601b1613 Mon Sep 17 00:00:00 2001 From: Jony <23194385+jony0008@users.noreply.github.com> Date: Sat, 27 Oct 2018 13:22:47 +0200 Subject: [PATCH 1/3] Delete corren2.recipe --- recipes/corren2.recipe | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 recipes/corren2.recipe diff --git a/recipes/corren2.recipe b/recipes/corren2.recipe deleted file mode 100644 index 6873fbf334..0000000000 --- a/recipes/corren2.recipe +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- - -__license__ = 'GPLv3' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class AdvancedUserRecipe1311446032(BasicNewsRecipe): - title = 'Corren' - __author__ = 'Jonas Svensson' - description = 'News from Sweden' - publisher = 'Corren' - category = 'news, politics, Sweden' - oldest_article = 2 - delay = 1 - max_articles_per_feed = 100 - no_stylesheets = True - use_embedded_content = False - encoding = 'iso-8859-1' - language = 'sv' - - feeds = [ - - (u'Toppnyheter', u'http://www.corren.se/inc/RssHandler.ashx?id=4122151&ripurl=http://www.corren.se/nyheter/'), - (u'Ekonomi', u'http://www.corren.se/inc/RssHandler.ashx?id=4122176&ripurl=http://www.corren.se/ekonomi/'), - (u'Link\xf6ping', u'http://www.corren.se/inc/RssHandler.ashx?id=4122234'), - (u'Åsikter', u'http://www.corren.se/inc/RssHandler.ashx?id=4122223,4122224,4122226,4122227,4122228,4122229,4122230') - ] - - keep_only_tags = [dict(name='div', attrs={'id': 'article'}), dict( - name='div', attrs={'class': 'body'})] - remove_tags = [ - dict(name='ul', attrs={'class': 'functions'}), dict(name='a', attrs={'href': 'javascript*'}), dict( - name='div', attrs={'class': 'box'}), dict(name='div', attrs={'class': 'functionsbottom'}) - ] From d5c3c817c312d48edf26340b7c4a41f212c1f54b Mon Sep 17 00:00:00 2001 From: Jony <23194385+jony0008@users.noreply.github.com> Date: Sat, 27 Oct 2018 13:23:32 +0200 Subject: [PATCH 2/3] Delete kamerabild.recipe --- recipes/kamerabild.recipe | 43 --------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 recipes/kamerabild.recipe diff --git a/recipes/kamerabild.recipe b/recipes/kamerabild.recipe deleted file mode 100644 index 2e113c5525..0000000000 --- a/recipes/kamerabild.recipe +++ /dev/null @@ -1,43 +0,0 @@ - -__license__ = 'GPL v3' -__copyright__ = '2010, Darko Miletic ' -''' -www.kamerabild.se -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class Kamerabild(BasicNewsRecipe): - title = 'Kamera & Bild' - __author__ = 'Darko Miletic' - description = 'Photo News from Sweden' - publisher = 'politiken.dk' - category = 'news, photograph, Sweden' - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - remove_empty_feeds = True - use_embedded_content = False - encoding = 'utf8' - language = 'sv' - - extra_css = ' body{font-family: Verdana,Arial,Helvetica,sans-serif } .title{font-weight: bold} .pricerunnerAdContainer{border-bottom: 1px solid; border-top: 1px solid; margin-top: 0.5em; margin-bottom: 0.5em} .elementTeaserKicker{font-weight: bold; color: #AE0A10} ' # noqa - - conversion_options = { - 'comment': description, 'tags': category, 'publisher': publisher, 'language': language - } - - feeds = [ - (u'Articles', u'http://www.kamerabild.se/cmlink/Nyheter-fran-KAMERA-BILD-1.43315.xml')] - keep_only_tags = [dict(name='div', attrs={'class': 'container'})] - remove_tags_after = dict(name='div', attrs={'class': 'editor'}) - remove_tags = [ - dict(name=['object', 'link', 'iframe']), dict(name='div', - attrs={'class': ['pricerunner_head', 'sideBar', 'img']}) - ] - - def preprocess_html(self, soup): - for item in soup.findAll(style=True): - del item['style'] - return self.adeify_images(soup) From cc2489850f631df2382f3236e5e57333d7473636 Mon Sep 17 00:00:00 2001 From: Jony <23194385+jony0008@users.noreply.github.com> Date: Sat, 27 Oct 2018 13:24:05 +0200 Subject: [PATCH 3/3] Delete kamerabild.png --- recipes/icons/kamerabild.png | Bin 820 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 recipes/icons/kamerabild.png diff --git a/recipes/icons/kamerabild.png b/recipes/icons/kamerabild.png deleted file mode 100644 index 859306b73941e1fa93d88524adedabf01c3f4b1b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 820 zcmWlWdrVVj7{=ezo}T;Z`MwW9XN(bn=~UF2tvIue%OHrb&Q#VYo2-iwjSerBfo98= zY9d~?q0=}T5$yzX%*B)V?T`pTHK+UK>-#A zINZ)7KaYGW0`jYfs9it-5p@VC$fF>KLp%-%=&Fdi1RQ2@w~lnvq=!w43M4Av9#Mr{ z6G^X%MEWHX6UlXn+?0}T%Jcdcp-8F{T&DkNmE5~VA6+NMH^_0LJd~wRtW~>w~X6{sRV>R5p1AO8rGg7PT`%>3)i0QKFBA+tX zDp+3yCHRsFeb7i`^ZS=QgbfcMR*~MrGeKsi28b+{vwbtBy~|F0_4~Np#}+udC``}?oVfr z7#RCo>}T0@=LIU<2(j<9Lr%?rm%1H<(GWF$RdcsR^ShJ&%TGTIYA55=)Cl!Q0-imB ze<$F@1U#RF=MUh;I5j)0ot=i+|6s<+Oq^l|3Xeq9;i)RKX$#~${;fg{Q$_i?rH99N z^wB1ZB_+kO_Th~_Yx8Q0bES*djY-ml(cH-2l#R1Lepo*6gCjn@=NGftw#4po4}Y=x zTv>9l(HOlyYS*|jg08|U+tbnX#H|(X&`#^_gYPx2AN<(7{q1ONL8;aq>+Jo;xbL7l z$I7$@3`1WxKl$j@`zL48f)4qOH&-TJS&)+PtaU}!z^dV-U+Y%>(Q4&zaUxw