mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
30 lines
864 B
Python
30 lines
864 B
Python
#!/usr/bin/env python2
|
|
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = u'2012, Tomasz Dlugosz <tomek3d@gmail.com>'
|
|
'''
|
|
rybinski.eu
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class Rybinski(BasicNewsRecipe):
|
|
title = u'Rybinski.eu - economy of the XXI century'
|
|
description = u'Blog ekonomiczny dra hab. Krzysztofa Rybi\u0144skiego'
|
|
language = 'pl'
|
|
__author__ = u'Tomasz D\u0142ugosz'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
|
|
feeds = [(u'wpisy', u'http://www.rybinski.eu/?feed=rss2&lang=pl')]
|
|
|
|
keep_only_tags = [dict(name='div', attrs={'class':'post'})]
|
|
|
|
remove_tags = [
|
|
dict(name = 'div', attrs = {'class' : 'post-meta-1'}),
|
|
dict(name = 'div', attrs = {'class' : 'post-meta-2'}),
|
|
dict(name = 'div', attrs = {'class' : 'post-comments'})
|
|
]
|
|
|