diff --git a/recipes/astroflesz.recipe b/recipes/astroflesz.recipe deleted file mode 100644 index d44aa994e5..0000000000 --- a/recipes/astroflesz.recipe +++ /dev/null @@ -1,30 +0,0 @@ -# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai -from calibre.web.feeds.news import BasicNewsRecipe - - -class Astroflesz(BasicNewsRecipe): - title = u'Astroflesz' - oldest_article = 7 - __author__ = 'fenuks' - description = u'astroflesz.pl - to portal poświęcony astronomii. Informuje zarówno o aktualnych wydarzeniach i odkryciach naukowych, jak również zapowiada ciekawe zjawiska astronomiczne' # noqa - category = 'astronomy' - language = 'pl' - cover_url = 'http://www.astroflesz.pl/templates/astroflesz/images/logo/logo.png' - ignore_duplicate_articles = {'title', 'url'} - max_articles_per_feed = 100 - no_stylesheets = True - use_embedded_content = False - remove_empty_feeds = True - remove_attributes = ['style'] - keep_only_tags = [dict(id="k2Container")] - remove_tags_after = dict(name='div', attrs={'class': 'itemLinks'}) - remove_tags = [dict(name='div', attrs={ - 'class': ['itemLinks', 'itemToolbar', 'itemRatingBlock']})] - feeds = [(u'Wszystkie', u'http://astroflesz.pl/?format=feed')] - - def postprocess_html(self, soup, first_fetch): - t = soup.find(attrs={'class': 'itemIntroText'}) - if t: - for i in t.findAll('img'): - i['style'] = 'float: left; margin-right: 5px;' - return soup diff --git a/recipes/icons/astroflesz.png b/recipes/icons/astroflesz.png deleted file mode 100644 index 2a0f5c2d87..0000000000 Binary files a/recipes/icons/astroflesz.png and /dev/null differ