mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove not working recipe
This commit is contained in:
parent
be6a1e9921
commit
2d78728134
@ -1,44 +0,0 @@
|
|||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
|
|
||||||
|
|
||||||
class AdvancedUserRecipe1271596863(BasicNewsRecipe):
|
|
||||||
|
|
||||||
title = u'The Nation'
|
|
||||||
__author__ = 'Anat R.'
|
|
||||||
language = 'en_TH'
|
|
||||||
|
|
||||||
oldest_article = 7
|
|
||||||
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
no_stylesheets = True
|
|
||||||
|
|
||||||
remove_javascript = True
|
|
||||||
|
|
||||||
use_embedded_content = False
|
|
||||||
feeds = [(u'Topstory',
|
|
||||||
u'http://www.nationmultimedia.com/home/rss/topstories.rss'),
|
|
||||||
(u'National', u'http://www.nationmultimedia.com/home/rss/national.rss'),
|
|
||||||
(u'Politics',
|
|
||||||
u'http://www.nationmultimedia.com/home/rss/politics.rss'), (u'Business',
|
|
||||||
u'http://www.nationmultimedia.com/home/rss/business.rss'),
|
|
||||||
(u'Regional', u'http://www.nationmultimedia.com/home/rss/regional.rss'),
|
|
||||||
(u'Sports', u'http://www.nationmultimedia.com/home/rss/sport.rss'),
|
|
||||||
(u'Travel', u'http://www.nationmultimedia.com/home/rss/travel.rss'),
|
|
||||||
(u'Life', u'http://www.nationmultimedia.com/home/rss/life.rss')]
|
|
||||||
keep_only_tags = []
|
|
||||||
|
|
||||||
keep_only_tags.append(dict(name='div', attrs={'class':
|
|
||||||
'pd10'}))
|
|
||||||
remove_tags = []
|
|
||||||
|
|
||||||
remove_tags.append(dict(name='div', attrs={'class':
|
|
||||||
'WrapperHeaderCol2-2'}))
|
|
||||||
|
|
||||||
remove_tags.append(dict(name='div', attrs={'class':
|
|
||||||
'LayoutMenu2'}))
|
|
||||||
|
|
||||||
remove_tags.append(dict(name='div', attrs={'class':
|
|
||||||
'TextHeaderRight'}))
|
|
||||||
|
|
||||||
remove_tags.append(dict(name="ul", attrs={'id': 'toolZoom'}))
|
|
Loading…
x
Reference in New Issue
Block a user