diff --git a/recipes/aksiyon_derigisi.recipe b/recipes/aksiyon_derigisi.recipe deleted file mode 100644 index e0b8526bd1..0000000000 --- a/recipes/aksiyon_derigisi.recipe +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- - -from calibre.web.feeds.news import BasicNewsRecipe - - -class Aksiyon (BasicNewsRecipe): - - title = u'Aksiyon Dergisi' - __author__ = u'thomass' - description = 'Haftalık haber dergisi ' - oldest_article = 13 - max_articles_per_feed = 100 - no_stylesheets = True - encoding = 'utf-8' - publisher = 'Aksiyon' - category = 'news, haberler,TR,gazete' - language = 'tr' - publication_type = 'magazine' - auto_cleanup = True - cover_img_url = 'http://www.aksiyon.com.tr/aksiyon/images/aksiyon/top-page/aksiyon_top_r2_c1.jpg' - masthead_url = 'http://aksiyon.com.tr/aksiyon/images/aksiyon/top-page/aksiyon_top_r2_c1.jpg' - ignore_duplicate_articles = {'title', 'url'} - remove_empty_feeds = True - feeds = [ - (u'KAPAK', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=26'), - (u'ANASAYFA', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=0'), - (u'EKONOMİ', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=35'), - (u'EKOANALİZ', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=284'), - (u'YAZARLAR', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=17'), - (u'KİTAPLIK', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=13'), - (u'SİNEMA', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=14'), - (u'ARKA PENCERE', - u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=27'), - (u'DÜNYA', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=32'), - (u'DOSYALAR', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=34'), - (u'KARAKUTU', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=11'), - (u'KÜLTÜR & SANAT', - u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=12'), - (u'SPOR', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=38'), - (u'BİLİŞİM - TEKNOLOJİ', - u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=39'), - (u'3. BOYUT', u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=172'), - (u'HAYAT BİLGİSİ', - u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=283'), - (u'İŞ DÜNYASI', - u'http://www.aksiyon.com.tr/aksiyon/rss?sectionId=283'), - ] - - # def print_version(self, url): - # return - # url.replace('http://www.aksiyon.com.tr/aksiyon/newsDetail_getNewsById.action?load=detay&', - # 'http://www.aksiyon.com.tr/aksiyon/mobile_detailn.action?') diff --git a/recipes/alleroedlokalavisen_dk.recipe b/recipes/alleroedlokalavisen_dk.recipe deleted file mode 100644 index be6cbc9aba..0000000000 --- a/recipes/alleroedlokalavisen_dk.recipe +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# vim:fileencoding=utf-8 -# https://manual.calibre-ebook.com/news_recipe.html -from __future__ import absolute_import, division, print_function, unicode_literals - -from calibre.web.feeds.news import BasicNewsRecipe - -''' -Allerød Nyt: RSS feed: Seneste nyt - alleroed.lokalavisen.dk -''' - - -class AlleroedLokalavisen_dk(BasicNewsRecipe): - __author__ = 'CoderAllan.github.com' - title = 'Allerød Nyt - alleroed.lokalavisen.dk' - description = ('RSS feed med sidste nyt fra Allerød Nyt. Der er nye historier flere gange dagligt' - ' - få de seneste nyheder fra dit lokalområde automatisk. Allerød Nyt. alleroed.lokalavisen.dk') - category = 'newspaper, news, localnews, sport, culture, Denmark' - oldest_article = 7 - max_articles_per_feed = 50 - auto_cleanup = True - language = 'da' - - feeds = [ - ('Seneste nyt fra Allerød Nyt', 'http://alleroed.lokalavisen.dk/section/senestenytrss'), - ('Seneste lokale nyheder fra Allerød Nyt', 'http://alleroed.lokalavisen.dk/section/senestelokalenyhederrss'), - ('Seneste sport fra Allerød Nyt', 'http://alleroed.lokalavisen.dk/section/senestesportrss'), - ('Seneste 112 nyheder fra Allerød Nyt', 'http://alleroed.lokalavisen.dk/section/seneste112rss'), - ('Seneste kultur nyheder fra Allerød Nyt', 'http://alleroed.lokalavisen.dk/section/senestekulturrss'), - ('Seneste læserbreve fra Allerød Nyt', 'http://alleroed.lokalavisen.dk/section/senestelaeserbreverss'), - ('Allerød Nyt: RSS feed: Seneste nyt - alleroed.lokalavisen.dk', 'http://alleroed.lokalavisen.dk/section/rss'), - - ] - diff --git a/recipes/alt_om_herning.recipe b/recipes/alt_om_herning.recipe deleted file mode 100644 index f7e757165b..0000000000 --- a/recipes/alt_om_herning.recipe +++ /dev/null @@ -1,40 +0,0 @@ -__license__ = 'GPL v3' -__copyright__ = '2011, Rasmus Lauritsen ' -''' -aoh.dk -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class aoh_dk(BasicNewsRecipe): - title = 'Alt om Herning' - __author__ = 'Rasmus Lauritsen' - description = 'Nyheder fra Herning om omegn' - publisher = 'Mediehuset Herning Folkeblad' - category = 'news, local, Denmark' - oldest_article = 14 - max_articles_per_feed = 50 - no_stylesheets = True - delay = 1 - encoding = 'utf8' - use_embedded_content = False - language = 'da' - extra_css = """ body{font-family: Verdana,Arial,sans-serif } - img{margin-bottom: 0.4em} - .txtContent,.stamp{font-size: small} - """ - - conversion_options = { - 'comment': description, 'tags': category, 'publisher': publisher, 'language': language - } - - feeds = [(u'All news', u'http://aoh.dk/rss.xml')] - - keep_only_tags = [ - dict(name='h1'), dict(name='span', attrs={'class': ['frontpage_body']}) - ] - - remove_tags = [ - dict(name=['object', 'link']) - ] diff --git a/recipes/alternet.recipe b/recipes/alternet.recipe deleted file mode 100644 index fc4f2d9a5f..0000000000 --- a/recipes/alternet.recipe +++ /dev/null @@ -1,39 +0,0 @@ -from calibre.ptempfile import PersistentTemporaryFile -from calibre.web.feeds.news import BasicNewsRecipe - - -class Alternet(BasicNewsRecipe): - title = u'Alternet' - __author__ = 'rty' - oldest_article = 7 - max_articles_per_feed = 100 - publisher = 'alternet.org' - category = 'News, Magazine' - description = 'News magazine and online community' - feeds = [ - (u'Front Page', u'http://feeds.feedblitz.com/alternet') - ] - - remove_attributes = ['width', 'align', 'cellspacing'] - remove_javascript = True - use_embedded_content = True - no_stylesheets = True - language = 'en' - encoding = 'UTF-8' - temp_files = [] - articles_are_obfuscated = True - - def get_article_url(self, article): - return article.get('link', None) - - def get_obfuscated_article(self, url): - br = self.get_browser() - br.open(url) - response = br.follow_link(url_regex=r'/printversion/[0-9]+', nr=0) - html = response.read() - self.temp_files.append(PersistentTemporaryFile('_fa.html')) - self.temp_files[-1].write(html) - self.temp_files[-1].close() - return self.temp_files[-1].name - - conversion_options = {'linearize_tables': True} diff --git a/recipes/amagerbladet_dk.recipe b/recipes/amagerbladet_dk.recipe deleted file mode 100644 index 7454b14292..0000000000 --- a/recipes/amagerbladet_dk.recipe +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python -# vim:fileencoding=utf-8 -# https://manual.calibre-ebook.com/news_recipe.html -from __future__ import absolute_import, division, print_function, unicode_literals - -from calibre.web.feeds.news import BasicNewsRecipe - -''' -Amagerbladet -''' - - -class Amagerbladet_dk(BasicNewsRecipe): - __author__ = 'CoderAllan.github.com' - title = 'Amagerbladet' - - category = 'newspaper, news, localnews, sport, culture, Denmark' - oldest_article = 7 - max_articles_per_feed = 50 - auto_cleanup = True - language = 'da' - - feeds = [ - ('Amagerbladet', 'http://minby.dk/amagerbladet/feed/'), - ('Kommentarer til Amagerbladet', 'http://minby.dk/amagerbladet/comments/feed/'), - - ] - diff --git a/recipes/an_druma_mor.recipe b/recipes/an_druma_mor.recipe deleted file mode 100644 index d1ff817b6e..0000000000 --- a/recipes/an_druma_mor.recipe +++ /dev/null @@ -1,13 +0,0 @@ -from calibre.web.feeds.news import BasicNewsRecipe - - -class AnDrumaMor(BasicNewsRecipe): - title = u'An Druma M\xf3r' - __author__ = "David O'Callaghan" - oldest_article = 7 - max_articles_per_feed = 100 - language = 'ga' - use_embedded_content = True - - feeds = [(u'Nuacht Laeth\xfail', - u'http://feeds.feedburner.com/NuachtLneLaethilArAnDrumaMr')] diff --git a/recipes/anchorage_daily.recipe b/recipes/anchorage_daily.recipe deleted file mode 100644 index 9e2a65c1d2..0000000000 --- a/recipes/anchorage_daily.recipe +++ /dev/null @@ -1,28 +0,0 @@ -from calibre.web.feeds.news import BasicNewsRecipe - - -class AdvancedUserRecipe1278347258(BasicNewsRecipe): - title = u'Anchorage Daily News' - __author__ = 'rty' - oldest_article = 7 - max_articles_per_feed = 100 - auto_cleanup = True - - feeds = [(u'Alaska News', u'http://www.adn.com/rss-feeds/feed/all'), - (u'Politics', u'http://www.adn.com/rss-feeds/feed/politics'), - ] - description = ''''Alaska's Newspaper''' - publisher = 'http://www.adn.com' - category = 'news, Alaska, Anchorage' - language = 'en' - extra_css = ''' - p{font-weight: normal;text-align: justify} - ''' - remove_javascript = True - use_embedded_content = False - no_stylesheets = True - language = 'en' - encoding = 'utf-8' - conversion_options = {'linearize_tables': True} - masthead_url = 'http://media.adn.com/includes/assets/images/adn_logo.2.gif' - diff --git a/recipes/anthony_muroni.recipe b/recipes/anthony_muroni.recipe deleted file mode 100644 index 8d8f44e023..0000000000 --- a/recipes/anthony_muroni.recipe +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python -# vim:fileencoding=utf-8 -from __future__ import absolute_import, division, print_function, unicode_literals - -from calibre.web.feeds.news import AutomaticNewsRecipe - - -class BasicUserRecipe1501589429(AutomaticNewsRecipe): - title = 'AnthonyMuroni.it (sardu)' - oldest_article = 30 - max_articles_per_feed = 100 - auto_cleanup = True - language = 'sc' - __author__ = 'tzium' - - feeds = [ - ('AnthonyMuroni.it (sardu)', 'http://www.anthonymuroni.it/su/feed/'), - ] diff --git a/recipes/apcom.recipe b/recipes/apcom.recipe deleted file mode 100644 index 082371ca1e..0000000000 --- a/recipes/apcom.recipe +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python -__license__ = 'GPL v3' -__author__ = 'Gabriele Marini, based on Darko Miletic' -__copyright__ = '2009-2010, Darko Miletic ' -description = 'Italian daily newspaper - 14-05-2010' - -''' -http://www.apcom.NET/ -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class Apcom(BasicNewsRecipe): - __author__ = 'Marini Gabriele' - description = 'Italian daily newspaper' - - cover_url = 'http://www.apcom.net/img/logoAP.gif' - title = u'Apcom' - publisher = 'TM News S.p.A.' - category = 'News, politics, culture, economy, general interest' - - language = 'it' - timefmt = '[%a, %d %b, %Y]' - - oldest_article = 7 - max_articles_per_feed = 50 - use_embedded_content = False - recursion = 100 - - no_stylesheets = True - conversion_options = {'linearize_tables': True} - remove_javascript = True - - keep_only_tags = [ - dict(name='div', attrs={'id': 'ag_center'}) - ] - - feeds = [ - (u'Globale', u'http://www.apcom.net/rss/globale.xml '), - (u'Politica', u'http://www.apcom.net/rss/politica.xml'), - (u'Cronaca', u'http://www.apcom.net/rss/cronaca.xml'), - (u'Econimia', u'http://www.apcom.net/rss/economia.xml'), - (u'Esteri', u'http://www.apcom.net/rss/esteri.xml'), - (u'Cultura', u'http://www.apcom.net/rss/cultura.xml'), - (u'Sport', u'http://www.apcom.net/rss/sport.xml') - ] diff --git a/recipes/app_funds.recipe b/recipes/app_funds.recipe deleted file mode 100644 index cbeaa838a6..0000000000 --- a/recipes/app_funds.recipe +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python - -__license__ = 'GPL v3' -__author__ = 'teepel ' - -''' -appfunds.blogspot.com -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class app_funds(BasicNewsRecipe): - title = u'APP Funds' - __author__ = 'teepel ' - language = 'pl' - description = 'Blog inwestora dla inwestorów i oszczędzających' - INDEX = 'http://appfunds.blogspot.com' - remove_empty_feeds = True - oldest_article = 7 - max_articles_per_feed = 100 - simultaneous_downloads = 5 - remove_javascript = True - no_stylesheets = True - auto_cleanup = True - - feeds = [(u'blog', u'http://feeds.feedburner.com/blogspot/etVI')] diff --git a/recipes/appledaily_tw.recipe b/recipes/appledaily_tw.recipe deleted file mode 100644 index 99eb8b59ec..0000000000 --- a/recipes/appledaily_tw.recipe +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/env python -# vim:fileencoding=utf-8 - -from __future__ import absolute_import, division, print_function, unicode_literals - -import re - -from calibre.web.feeds.news import BasicNewsRecipe - -__license__ = 'GPL v3' -__author__ = 'YuLun Shih' - - -class AppledailyTW(BasicNewsRecipe): - __license__ = 'GPL v3' - __author__ = 'YuLun Shih' - title = u'蘋果日報 (台灣)' - description = '24 小時陪你看新聞,我們是最勁爆、最八卦、最貼近大家生活的台灣蘋果日報!' - cover_url = 'http://i.imgur.com/3pkzQbw.jpg' - masthead_url = 'http://i.imgur.com/otLZwQq.gif' - oldest_article = 1.5 - max_articles_per_feed = 25 - auto_cleanup = True - simultaneous_downloads = 25 - language = 'zh_TW' - tags = 'news, chinese, Taiwan' - category = 'news, chinese, Taiwan' - publisher = u'蘋果日報 (台灣)' - publication_type = 'newspaper' - no_stylesheets = True - remove_empty_feeds = True - extra_css = 'img { display:block; margin: 5px auto; width: 50%;}' - remove_tags = [ - {'name': 'a', 'attrs': {'href': 'mailto:.*?'}}, - {'name': 'a', 'attrs': {'target': '_blank'}}, - {'name': 'hr'} - ] - conversion_options = { - 'title': title, - 'comments': description, - 'tags': category, - 'language': language, - 'publisher': publisher, - 'authors': publisher, - 'linearize_tables': True - } - feeds = [ - (u'頭條', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1077'), - (u'要聞', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/11'), - (u'政治', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/151'), - (u'社會', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1066'), - (u'生活', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/2724'), - (u'地方綜合', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1076'), - (u'論壇', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/824711'), - (u'法庭', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/152'), - (u'暖流', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/9499'), - (u'投訴', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/16287'), - (u'娛樂名人', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1600'), - (u'木瓜霞吐槽', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/26153'), - (u'直擊好萊塢', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/2890'), - (u'亞洲哈燒星', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/6270'), - (u'名人時尚', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1403917'), - (u'強檔新片', 'http://www.appledaily.com.tw/rss/create/kind/col/type/35151804'), - (u'勇闖星宅門', 'http://www.appledaily.com.tw/rss/create/kind/col/type/1761666'), - (u'國際頭條', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31488833'), - (u'國際新聞', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1697'), - (u'中國新聞', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/13'), - (u'雙語天下', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1945241'), - (u'體育焦點', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/2153'), - (u'大運動場', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/16289'), - (u'籃球瘋', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/16'), - (u'投打對決', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/2154'), - (u'足球新聞', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31320925'), - (u'運彩分析', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31320926'), - (u'財經焦點', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/14'), - (u'財經熱門話題', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1059'), - (u'國際財經', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1052'), - (u'投資理財', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1028'), - (u'科技3C', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1048'), - (u'金融保險', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1078'), - (u'綜合產業', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/3847'), - (u'頭家生意', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/5050'), - (u'地產焦點', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1061'), - (u'地產王', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31425399'), - (u'中古好屋王', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31477902'), - (u'家居王', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31477866'), - (u'豪宅王', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31477901'), - (u'蘋論', 'http://www.appledaily.com.tw/rss/create/kind/col/type/974972'), - (u'司馬觀點', 'http://www.appledaily.com.tw/rss/create/kind/col/type/1635487'), - (u'人間異語', 'http://www.appledaily.com.tw/rss/create/kind/col/type/2262677'), - (u'論壇', 'http://www.appledaily.com.tw/rss/create/kind/col/type/836825'), - (u'副刊頭條', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31477907'), - (u'讓我更美', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/22'), - (u'流行尖端', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/2452'), - (u'消費高手', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1619'), - (u'旅遊與探險', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/24'), - (u'美食天地', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1898'), - (u'健康醫療', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/177600'), - (u'讓我自己來', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31478018'), - (u'寵物 DIY', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/31478020'), - (u'運勢與彩券', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/6199'), - (u'3C通訊', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/23'), - (u'車市快遞', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/1540'), - (u'名采', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/25'), - (u'人間事', 'http://www.appledaily.com.tw/rss/create/kind/sec/type/17822'), - ] - - def preprocess_raw_html(self, raw_html, url): - raw_html = re.sub((r'Reacties|

Zie ook:

|
', re.DOTALL | re.IGNORECASE), - lambda match: 'something') - ] - - keep_only_tags = [dict(attrs={'class': ['article-info1', 'article-text']})] - remove_attributes = ['width', 'height', 'align', - 'hspace', 'vspace', 'border', 'lang', 'xmlns:fb'] - remove_tags = [ - dict(name=['embed', 'link', 'base', 'meta', 'iframe']), dict( - attrs={'id': 'social'}) - ] - - feeds = [ - - (u'Vesti', u'http://www.b92.net/info/rss/vesti.xml'), - (u'Biz', u'http://www.b92.net/info/rss/biz.xml'), - (u'Sport', u'http://www.b92.net/info/rss/sport.xml'), - (u'Zivot', u'http://www.b92.net/info/rss/zivot.xml'), - (u'Kultura', u'http://www.b92.net/info/rss/kultura.xml'), - (u'Automobili', u'http://www.b92.net/info/rss/automobili.xml'), - (u'Tehnopolis', u'http://www.b92.net/info/rss/tehnopolis.xml') - ] - - def preprocess_html(self, soup): - for item in soup.findAll(style=True): - del item['style'] - for alink in soup.findAll('a'): - if alink.string is not None: - tstr = alink.string - alink.replaceWith(tstr) - return soup diff --git a/recipes/babyonline.recipe b/recipes/babyonline.recipe deleted file mode 100644 index fe34d33f8f..0000000000 --- a/recipes/babyonline.recipe +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -__license__ = 'GPL v3' -__copyright__ = u'2011, Silviu Cotoar\u0103' -''' -babyonline.ro -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class BabyOnline(BasicNewsRecipe): - title = u'Baby Online' - __author__ = u'Silviu Cotoar\u0103' - description = u'De la p\u0103rinte la p\u0103rinte' - publisher = u'Baby Online' - oldest_article = 50 - language = 'ro' - max_articles_per_feed = 100 - no_stylesheets = True - use_embedded_content = False - category = 'Ziare,Reviste,Copii,Mame' - encoding = 'utf-8' - cover_url = 'http://www.babyonline.ro/images/default/logo.gif' - - conversion_options = { - 'comments': description, 'tags': category, 'language': language, 'publisher': publisher - } - - keep_only_tags = [ - dict(name='div', attrs={'id': 'article_container'}) - ] - - remove_tags = [ - dict(name='div', attrs={'id': 'bar_nav'}), - dict(name='div', attrs={'id': 'service_send'}), - dict(name='div', attrs={'id': 'other_videos'}), - dict(name='div', attrs={'class': 'dot_line_yellow'}), - dict(name='a', attrs={'class': 'print'}), - dict(name='a', attrs={'class': 'email'}), - dict(name='a', attrs={'class': 'YM'}), - dict(name='a', attrs={'class': 'comment'}), - dict(name='div', attrs={'class': 'tombstone_cross'}), - dict(name='span', attrs={'class': 'liketext'}) - ] - - remove_tags_after = [ - dict(name='div', attrs={'id': 'service_send'}) - ] - - feeds = [ - (u'Feeds', u'http://www.babyonline.ro/rss_homepage.xml') - ] - - def preprocess_html(self, soup): - return self.adeify_images(soup) diff --git a/recipes/badania_net.recipe b/recipes/badania_net.recipe deleted file mode 100644 index dd25217493..0000000000 --- a/recipes/badania_net.recipe +++ /dev/null @@ -1,30 +0,0 @@ -import re - -from calibre.web.feeds.news import BasicNewsRecipe - - -class BadaniaNet(BasicNewsRecipe): - title = u'badania.net' - __author__ = 'fenuks' - description = u'chcesz wiedzieć więcej?' - category = 'science' - language = 'pl' - cover_url = 'http://badania.net/wp-content/badanianet_green_transparent.png' - extra_css = '.alignleft {float:left; margin-right:5px;} .alignright {float:right; margin-left:5px;}' - oldest_article = 7 - max_articles_per_feed = 100 - no_stylesheets = True - preprocess_regexps = [ - (re.compile(r"

Tekst sponsoruje

", re.IGNORECASE), lambda m: ''), ] - remove_empty_feeds = True - use_embedded_content = False - remove_tags = [] - keep_only_tags = [dict(name='article')] - feeds = [ - (u'Psychologia', u'http://badania.net/category/psychologia/feed/'), - (u'Technologie', u'http://badania.net/category/technologie/feed/'), - (u'Biologia', u'http://badania.net/category/biologia/feed/'), - - (u'Chemia', u'http://badania.net/category/chemia/feed/'), - (u'Zdrowie', u'http://badania.net/category/zdrowie/'), - (u'Seks', u'http://badania.net/category/psychologia-ewolucyjna-tematyka-seks/feed/')] diff --git a/recipes/balkaninsight.recipe b/recipes/balkaninsight.recipe deleted file mode 100644 index 17ba11cbac..0000000000 --- a/recipes/balkaninsight.recipe +++ /dev/null @@ -1,62 +0,0 @@ -__license__ = 'GPL v3' -__copyright__ = '2010, Darko Miletic ' -''' -balkaninsight.com -''' - -import re - -from calibre.web.feeds.news import BasicNewsRecipe - - -class BalkanInsight(BasicNewsRecipe): - title = 'Balkan Insight' - __author__ = 'Darko Miletic' - description = 'Get exclusive news and in depth information on business, politics, events and lifestyle in the Balkans. Free and exclusive premium content.' - publisher = 'BalkanInsight.com' - category = 'news, politics, Balcans' - oldest_article = 2 - max_articles_per_feed = 100 - no_stylesheets = False - use_embedded_content = False - encoding = 'utf-8' - masthead_url = 'http://www.balkaninsight.com/templates/balkaninsight/images/aindex_02.jpg' - language = 'en' - publication_type = 'newsportal' - remove_empty_feeds = True - extra_css = """ @font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)} - @font-face {font-family: "sans1";src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf)} - .article_description,body{font-family: Arial,Verdana,Helvetica,sans1,sans-serif} - img{margin-bottom: 0.8em} - h1,h2,h3,h4{font-family: Times,Georgia,serif1,serif; color: #24569E} - .article-deck {color:#777777; font-size: small;} - .main_news_img{font-size: small} """ - - conversion_options = { - 'comment': description, 'tags': category, 'publisher': publisher, 'language': language - } - - preprocess_regexps = [(re.compile(u'\u0110'), lambda match: u'\u00D0')] - - keep_only_tags = [dict(name='div', attrs={'id': 'article'})] - remove_tags = [ - dict(name=['object', 'link', 'iframe']) - ] - - feeds = [ - - (u'Albania', u'http://www.balkaninsight.com/?tpl=653&tpid=144'), - (u'Bosnia', u'http://www.balkaninsight.com/?tpl=653&tpid=145'), - (u'Bulgaria', u'http://www.balkaninsight.com/?tpl=653&tpid=146'), - (u'Croatia', u'http://www.balkaninsight.com/?tpl=653&tpid=147'), - (u'Kosovo', u'http://www.balkaninsight.com/?tpl=653&tpid=148'), - (u'Macedonia', u'http://www.balkaninsight.com/?tpl=653&tpid=149'), - (u'Montenegro', u'http://www.balkaninsight.com/?tpl=653&tpid=150'), - (u'Romania', u'http://www.balkaninsight.com/?tpl=653&tpid=151'), - (u'Serbia', u'http://www.balkaninsight.com/?tpl=653&tpid=152') - ] - - def preprocess_html(self, soup): - for item in soup.findAll(style=True): - del item['style'] - return self.adeify_images(soup) diff --git a/recipes/icons/aksiyon_derigisi.png b/recipes/icons/aksiyon_derigisi.png deleted file mode 100644 index 3af2487f32..0000000000 Binary files a/recipes/icons/aksiyon_derigisi.png and /dev/null differ diff --git a/recipes/icons/alleroedlokalavisen_dk.png b/recipes/icons/alleroedlokalavisen_dk.png deleted file mode 100644 index 70464fce89..0000000000 Binary files a/recipes/icons/alleroedlokalavisen_dk.png and /dev/null differ diff --git a/recipes/icons/alt_om_herning.png b/recipes/icons/alt_om_herning.png deleted file mode 100644 index f20ec93408..0000000000 Binary files a/recipes/icons/alt_om_herning.png and /dev/null differ diff --git a/recipes/icons/alternet.png b/recipes/icons/alternet.png deleted file mode 100644 index c414410f92..0000000000 Binary files a/recipes/icons/alternet.png and /dev/null differ diff --git a/recipes/icons/anchorage_daily.png b/recipes/icons/anchorage_daily.png deleted file mode 100644 index c401d0a337..0000000000 Binary files a/recipes/icons/anchorage_daily.png and /dev/null differ diff --git a/recipes/icons/anthony_muroni.png b/recipes/icons/anthony_muroni.png deleted file mode 100644 index 4a0df4f3a0..0000000000 Binary files a/recipes/icons/anthony_muroni.png and /dev/null differ diff --git a/recipes/icons/app_funds.png b/recipes/icons/app_funds.png deleted file mode 100644 index 9551de7648..0000000000 Binary files a/recipes/icons/app_funds.png and /dev/null differ diff --git a/recipes/icons/appledaily_tw.png b/recipes/icons/appledaily_tw.png deleted file mode 100644 index fa26911e1c..0000000000 Binary files a/recipes/icons/appledaily_tw.png and /dev/null differ diff --git a/recipes/icons/ara.png b/recipes/icons/ara.png deleted file mode 100644 index 39d21b39b3..0000000000 Binary files a/recipes/icons/ara.png and /dev/null differ diff --git a/recipes/icons/ara_info.png b/recipes/icons/ara_info.png deleted file mode 100644 index 32e0edc0f1..0000000000 Binary files a/recipes/icons/ara_info.png and /dev/null differ diff --git a/recipes/icons/arabian_business.png b/recipes/icons/arabian_business.png deleted file mode 100644 index cb7ef139cd..0000000000 Binary files a/recipes/icons/arabian_business.png and /dev/null differ diff --git a/recipes/icons/arcadia.png b/recipes/icons/arcadia.png deleted file mode 100644 index 3ed304becd..0000000000 Binary files a/recipes/icons/arcadia.png and /dev/null differ diff --git a/recipes/icons/arizona_republic.png b/recipes/icons/arizona_republic.png deleted file mode 100644 index 19a813a1ed..0000000000 Binary files a/recipes/icons/arizona_republic.png and /dev/null differ diff --git a/recipes/icons/athens_news.png b/recipes/icons/athens_news.png deleted file mode 100644 index cac37203ca..0000000000 Binary files a/recipes/icons/athens_news.png and /dev/null differ diff --git a/recipes/icons/auto.png b/recipes/icons/auto.png deleted file mode 100644 index 10679e87ba..0000000000 Binary files a/recipes/icons/auto.png and /dev/null differ diff --git a/recipes/icons/auto_blog.png b/recipes/icons/auto_blog.png deleted file mode 100644 index 69ba85d8f9..0000000000 Binary files a/recipes/icons/auto_blog.png and /dev/null differ diff --git a/recipes/icons/auto_prove.png b/recipes/icons/auto_prove.png deleted file mode 100644 index 10679e87ba..0000000000 Binary files a/recipes/icons/auto_prove.png and /dev/null differ diff --git a/recipes/icons/autobild.png b/recipes/icons/autobild.png deleted file mode 100644 index 2897dcfeae..0000000000 Binary files a/recipes/icons/autobild.png and /dev/null differ diff --git a/recipes/icons/automatiseringgids.png b/recipes/icons/automatiseringgids.png deleted file mode 100644 index 6f2b464441..0000000000 Binary files a/recipes/icons/automatiseringgids.png and /dev/null differ diff --git a/recipes/icons/autosport.png b/recipes/icons/autosport.png deleted file mode 100644 index f47fb352dc..0000000000 Binary files a/recipes/icons/autosport.png and /dev/null differ diff --git a/recipes/icons/avantaje.png b/recipes/icons/avantaje.png deleted file mode 100644 index be3e00908d..0000000000 Binary files a/recipes/icons/avantaje.png and /dev/null differ diff --git a/recipes/icons/aventurilapescuit.png b/recipes/icons/aventurilapescuit.png deleted file mode 100644 index ea39957a2d..0000000000 Binary files a/recipes/icons/aventurilapescuit.png and /dev/null differ diff --git a/recipes/icons/b365realitatea.png b/recipes/icons/b365realitatea.png deleted file mode 100644 index 7d9582ad89..0000000000 Binary files a/recipes/icons/b365realitatea.png and /dev/null differ diff --git a/recipes/icons/b92.png b/recipes/icons/b92.png deleted file mode 100644 index e0088c98c2..0000000000 Binary files a/recipes/icons/b92.png and /dev/null differ diff --git a/recipes/icons/babyonline.png b/recipes/icons/babyonline.png deleted file mode 100644 index f171fa97d7..0000000000 Binary files a/recipes/icons/babyonline.png and /dev/null differ diff --git a/recipes/icons/badania_net.png b/recipes/icons/badania_net.png deleted file mode 100644 index 54ec8c17a3..0000000000 Binary files a/recipes/icons/badania_net.png and /dev/null differ diff --git a/recipes/icons/balkaninsight.png b/recipes/icons/balkaninsight.png deleted file mode 100644 index 4105e4940d..0000000000 Binary files a/recipes/icons/balkaninsight.png and /dev/null differ