mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
22 lines
804 B
Plaintext
22 lines
804 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class AdvancedUserRecipe1301860159(BasicNewsRecipe):
|
|
title = u'F-Secure Weblog'
|
|
language = 'en'
|
|
__author__ = 'louhike'
|
|
description = u'All the news from the weblog of F-Secure'
|
|
publisher = u'F-Secure'
|
|
timefmt = ' [%a, %d %b, %Y]'
|
|
encoding = 'ISO-8859-1'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
remove_javascript = True
|
|
keep_only_tags = [dict(name='div', attrs={'class':'modSectionTd2'})]
|
|
remove_tags = [dict(name='a'),dict(name='hr')]
|
|
|
|
feeds = [(u'Weblog', u'http://www.f-secure.com/weblog/weblog.rss')]
|
|
def get_cover_url(self):
|
|
return 'http://www.f-secure.com/weblog/archives/images/company_logo.png'
|