calibre/recipes/nowy_ekran.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

20 lines
837 B
Plaintext

from calibre.web.feeds.news import BasicNewsRecipe
class NowyEkran(BasicNewsRecipe):
title = u'Nowy ekran'
oldest_article = 7
max_articles_per_feed = 100
no_stylesheets = True
__author__ = 'fenuks'
description = u'Niezależny serwis społeczności blogerów'
category = 'blog'
language = 'pl'
masthead_url = 'http://s.nowyekran.pl/gfx/ekran-big.gif'
cover_url = 'http://s.nowyekran.pl/gfx/ekran-big.gif'
remove_tags_before = dict(name='div', attrs={'class': 'post_detal'})
remove_tags_after = dict(name='div', attrs={'class': 'post_footer'})
remove_tags = [dict(name='span', attrs={'class': 'ico ico_comments'}), dict(
name='div', attrs={'class': 'post_footer'}), dict(name='a', attrs={'class': 'getpdf'})]
feeds = [(u'Najnowsze notki', u'http://www.nowyekran.pl/RSS/')]