mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
22 lines
910 B
Plaintext
22 lines
910 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
||
|
||
|
||
class Niebezpiecznik_pl(BasicNewsRecipe):
|
||
title = u'Niebezpiecznik.pl'
|
||
__author__ = 'fenuks'
|
||
description = u'Niebezpiecznik.pl – o bezpieczeństwie i nie...'
|
||
category = 'hacking, IT'
|
||
language = 'pl'
|
||
oldest_article = 8
|
||
extra_css = '.entry {margin-top: 25px;}'
|
||
remove_attrs = ['style']
|
||
max_articles_per_feed = 100
|
||
no_stylesheets = True
|
||
remove_empty_feeds = True
|
||
cover_url = u'http://userlogos.org/files/logos/Karmody/niebezpiecznik_01.png'
|
||
remove_tags = [dict(name='div', attrs={'class': ['sociable']}), dict(
|
||
name='h4'), dict(attrs={'class': 'similar-posts'})]
|
||
keep_only_tags = [dict(name='div', attrs={'class': ['title', 'entry']})]
|
||
feeds = [(u'Wiadomości', u'http://feeds.feedburner.com/niebezpiecznik/'),
|
||
('Blog', 'http://feeds.feedburner.com/niebezpiecznik/linkblog/')]
|