mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 21:33:36 +02:00
Delete corren2.recipe
This commit is contained in:
parent
cffafb019c
commit
8ba7ce9c46
1 changed files with 0 additions and 35 deletions
|
|
@ -1,35 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
__license__ = 'GPLv3'
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
class AdvancedUserRecipe1311446032(BasicNewsRecipe):
|
||||
title = 'Corren'
|
||||
__author__ = 'Jonas Svensson'
|
||||
description = 'News from Sweden'
|
||||
publisher = 'Corren'
|
||||
category = 'news, politics, Sweden'
|
||||
oldest_article = 2
|
||||
delay = 1
|
||||
max_articles_per_feed = 100
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
encoding = 'iso-8859-1'
|
||||
language = 'sv'
|
||||
|
||||
feeds = [
|
||||
|
||||
(u'Toppnyheter', u'http://www.corren.se/inc/RssHandler.ashx?id=4122151&ripurl=http://www.corren.se/nyheter/'),
|
||||
(u'Ekonomi', u'http://www.corren.se/inc/RssHandler.ashx?id=4122176&ripurl=http://www.corren.se/ekonomi/'),
|
||||
(u'Link\xf6ping', u'http://www.corren.se/inc/RssHandler.ashx?id=4122234'),
|
||||
(u'Åsikter', u'http://www.corren.se/inc/RssHandler.ashx?id=4122223,4122224,4122226,4122227,4122228,4122229,4122230')
|
||||
]
|
||||
|
||||
keep_only_tags = [dict(name='div', attrs={'id': 'article'}), dict(
|
||||
name='div', attrs={'class': 'body'})]
|
||||
remove_tags = [
|
||||
dict(name='ul', attrs={'class': 'functions'}), dict(name='a', attrs={'href': 'javascript*'}), dict(
|
||||
name='div', attrs={'class': 'box'}), dict(name='div', attrs={'class': 'functionsbottom'})
|
||||
]
|
||||
Loading…
Reference in a new issue