| 1 |
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai |
| 2 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 3 |
|
| 4 |
|
| 5 |
class FilmOrgPl(BasicNewsRecipe): |
| 6 |
title = 'Film.org.pl' |
| 7 |
__author__ = 'fenuks' |
| 8 |
description = "Recenzje, analizy, artykuły, rankingi - wszystko o filmie dla miłośników kina. Opisy efektów specjalnych, wersji reżyserskich, remake'ów, sequeli. No i forum filmowe. Jedne z największych w Polsce." # noqa: E501 |
| 9 |
category = 'film' |
| 10 |
language = 'pl' |
| 11 |
cover_url = 'http://film.org.pl/wp-content/uploads/2015/02/film.org.pl_film.org_.pl_kmfviolet4.png' |
| 12 |
ignore_duplicate_articles = {'title', 'url'} |
| 13 |
oldest_article = 7 |
| 14 |
max_articles_per_feed = 100 |
| 15 |
no_stylesheets = True |
| 16 |
remove_javascript = True |
| 17 |
remove_empty_feeds = True |
| 18 |
use_embedded_content = True |
| 19 |
|
| 20 |
remove_attributes = ['style', 'width', 'height'] |
| 21 |
remove_tags = [dict(attrs={'class': 'shortcode-box right'})] |
| 22 |
|
| 23 |
feeds = [ |
| 24 |
('Recenzje', 'http://film.org.pl/r/recenzje/feed/'), |
| 25 |
('Artyku\u0142', 'http://film.org.pl/a/artykul/feed/'), |
| 26 |
('Analiza', 'http://film.org.pl/a/analiza/feed/'), |
| 27 |
('Ranking', 'http://film.org.pl/a/ranking/feed/'), |
| 28 |
('Blog', 'http://film.org.pl/kmf/blog/feed/'), |
| 29 |
('Ludzie', 'http://film.org.pl/a/ludzie/feed/'), |
| 30 |
('Seriale', 'http://film.org.pl/a/seriale/feed/'), |
| 31 |
('Oceanarium', 'http://film.org.pl/a/ocenarium/feed/'), |
| 32 |
('VHS', 'http://film.org.pl/a/vhs-a/feed/'), |
| 33 |
] |