mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
add trystero
This commit is contained in:
parent
489416c4a2
commit
39058f2552
26
recipes/trystero.recipe
Normal file
26
recipes/trystero.recipe
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
__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.'
|
||||||
|
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']})]
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user