mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-22 02:34:29 +02:00
add trystero
This commit is contained in:
parent
489416c4a2
commit
39058f2552
1 changed files with 26 additions and 0 deletions
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…
Reference in a new issue