diff --git a/recipes/icons/mojegotowanie.png b/recipes/icons/mojegotowanie.png deleted file mode 100644 index ee47f4b173..0000000000 Binary files a/recipes/icons/mojegotowanie.png and /dev/null differ diff --git a/recipes/mojegotowanie.recipe b/recipes/mojegotowanie.recipe deleted file mode 100644 index 7981eb0042..0000000000 --- a/recipes/mojegotowanie.recipe +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env python2 - -__license__ = 'GPL v3' -__copyright__ = 'MrStefan, teepel' - -''' -www.mojegotowanie.pl -''' - -from calibre.web.feeds.news import BasicNewsRecipe - -class mojegotowanie(BasicNewsRecipe): - title = u'Moje Gotowanie' - __author__ = 'MrStefan , teepel ' - language = 'pl' - description =u'Gotowanie to Twoja pasja? Uwielbiasz sałatki? Lubisz grillować? Przepisy kulinarne doskonałe na wszystkie okazje znajdziesz na www.mojegotowanie.pl.' - masthead_url='http://www.mojegotowanie.pl/extension/selfstart/design/self/images/top_c2.gif' - cover_url = 'http://www.mojegotowanie.pl/extension/selfstart/design/self/images/mgpl/mojegotowanie.gif' - remove_empty_feeds= True - oldest_article = 7 - max_articles_per_feed = 100 - remove_javascript=True - no_stylesheets=True - - keep_only_tags =[] - keep_only_tags.append(dict(name='div', attrs={'class' : 'content'})) - - feeds = [(u'Artykuły', u'http://mojegotowanie.pl/rss/feed/artykuly'), - (u'Przepisy', u'http://mojegotowanie.pl/rss/feed/przepisy')] - - def parse_feeds(self): - feeds = BasicNewsRecipe.parse_feeds(self) - for feed in feeds: - for article in feed.articles[:]: - if 'film' in article.title: - feed.articles.remove(article) - return feeds - - def get_article_url(self, article): - link = article.get('link') - if 'Clayout0Cset0Cprint0' in link: - return link - - def print_version(self, url): - segment = url.split('/') - URLPart = segment[-2] - URLPart = URLPart.replace('0L0Smojegotowanie0Bpl0Clayout0Cset0Cprint0C', '/') - URLPart = URLPart.replace('0I', '_') - URLPart = URLPart.replace('0C', '/') - return 'http://www.mojegotowanie.pl/layout/set/print' + URLPart