| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class Kresy(BasicNewsRecipe): |
| 5 |
title = 'Kresy' |
| 6 |
__author__ = 'fenuks' |
| 7 |
description = 'portal społeczności kresowej' |
| 8 |
language = 'pl' |
| 9 |
oldest_article = 7 |
| 10 |
max_articles_per_feed = 100 |
| 11 |
no_stylesheets = True |
| 12 |
keep_only_tags = [dict(name='div', attrs={'class': ['big-slider big-preview single-big', 'entry-content-wrapper clearfix standard-content']})] |
| 13 |
remove_tags = [dict(attrs={'class': ['entry-footer', 'kresy_donate']})] |
| 14 |
feeds = [('Wszystkie', 'https://www.kresy.pl/rss')] |