mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
27 lines
763 B
Python
27 lines
763 B
Python
#!/usr/bin/env python2
|
||
|
||
__license__ = 'GPL v3'
|
||
__copyright__ = u'2013, Tomasz Dlugosz <tomek3d@gmail.com>'
|
||
|
||
'''
|
||
trystero.pl
|
||
'''
|
||
|
||
from calibre.web.feeds.news import BasicNewsRecipe
|
||
|
||
|
||
class trystero(BasicNewsRecipe):
|
||
title = 'Trystero'
|
||
__author__ = u'Tomasz D\u0142ugosz'
|
||
language = 'pl'
|
||
description = u'Trystero.pl jest niezależnym blogiem finansowym. Publikowane na nim teksty dotyczą rynku kapitałowego, ekonomii, gospodarki i życia społecznego – w takiej mniej więcej kolejności.' # noqa
|
||
oldest_article = 7
|
||
remove_javascript = True
|
||
no_stylesheets = True
|
||
|
||
feeds = [(u'Newsy', u'http://www.trystero.pl/feed')]
|
||
|
||
keep_only_tags = [
|
||
dict(name='h1'),
|
||
dict(name='div', attrs={'class': ['post-content']})]
|