From eba29b14d0694a5233694d964e34538e83c2827b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 15 Mar 2020 17:22:14 +0530 Subject: [PATCH] Remove non-working recipe --- recipes/ZIVE.sk.recipe | 43 ------------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 recipes/ZIVE.sk.recipe diff --git a/recipes/ZIVE.sk.recipe b/recipes/ZIVE.sk.recipe deleted file mode 100644 index f1d5c2febb..0000000000 --- a/recipes/ZIVE.sk.recipe +++ /dev/null @@ -1,43 +0,0 @@ -from calibre.web.feeds.news import BasicNewsRecipe -import re - - -class ZiveRecipe(BasicNewsRecipe): - __license__ = 'GPL v3' - __author__ = 'Abelturd' - language = 'sk' - version = 1 - - title = u'ZIVE.sk' - publisher = u'' - category = u'News, Newspaper' - description = u'Naj\u010d\xedtanej\u0161\xed denn\xedk opo\u010d\xedta\u010doch, IT a internete. ' - encoding = 'UTF-8' - - oldest_article = 7 - max_articles_per_feed = 100 - use_embedded_content = False - remove_empty_feeds = True - - no_stylesheets = True - remove_javascript = True - cover_url = 'http://www.zive.sk/Client.Images/Logos/logo-zive-sk.gif' - - feeds = [] - feeds.append((u'V\u0161etky \u010dl\xe1nky', - u'http://www.zive.sk/rss/sc-47/default.aspx')) - - preprocess_regexps = [ - (re.compile(r'

Pokra.*ie

', re.DOTALL | re.IGNORECASE), - lambda match: ''), - - ] - - remove_tags = [] - - keep_only_tags = [dict(name='h1'), dict(name='span', attrs={ - 'class': 'arlist-data-info-author'}), dict(name='div', attrs={'class': 'bbtext font-resizer-area'}), ] - extra_css = ''' - h1 {font-size:140%;font-family:georgia,serif; font-weight:bold} - h3 {font-size:115%;font-family:georgia,serif; font-weight:bold} - '''