mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
27 lines
856 B
Plaintext
27 lines
856 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1259599587(BasicNewsRecipe):
|
|
title = u'Gulli'
|
|
description = 'News from Germany'
|
|
language = 'de'
|
|
__author__ = 'posativ'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
|
|
feeds = [(u'gulli:news', u'http://ticker.gulli.com/rss/')]
|
|
|
|
remove_tags = [dict(name='div', attrs={'class': ['FloatL', '_forumBox']})]
|
|
|
|
keep_only_tags = [dict(name='div', attrs={'id': ['_contentLeft']})]
|
|
|
|
remove_tags_after = [dict(name='div', attrs={'class': ['_bookmark']})]
|
|
|
|
extra_css = '''
|
|
.byline {color:#666;margin-bottom:0;font-size:12px}
|
|
.blockquote {color:#030303;font-style:italic;padding-left:15px;}
|
|
img {align:center;}
|
|
.li {list-style-type: none}
|
|
'''
|