mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Heise Online
This commit is contained in:
parent
cac9d648fa
commit
e1f9586a1b
@ -15,23 +15,12 @@ class AdvancedUserRecipe(BasicNewsRecipe):
|
|||||||
timeout = 5
|
timeout = 5
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
|
|
||||||
|
keep_only_tags = [dict(name='div', attrs={'id':'mitte_news'}),
|
||||||
|
dict(name='h1', attrs={'class':'clear'}),
|
||||||
|
dict(name='div', attrs={'class':'meldung_wrapper'})]
|
||||||
|
|
||||||
remove_tags_after = dict(name ='p', attrs={'class':'editor'})
|
|
||||||
remove_tags = [dict(id='navi_top_container'),
|
remove_tags = [dict(id='navi_top_container'),
|
||||||
dict(id='navi_bottom'),
|
dict(name='p', attrs={'class':'size80'})]
|
||||||
dict(id='mitte_rechts'),
|
|
||||||
dict(id='navigation'),
|
|
||||||
dict(id='subnavi'),
|
|
||||||
dict(id='social_bookmarks'),
|
|
||||||
dict(id='permalink'),
|
|
||||||
dict(id='content_foren'),
|
|
||||||
dict(id='seiten_navi'),
|
|
||||||
dict(id='adbottom'),
|
|
||||||
dict(id='sitemap'),
|
|
||||||
dict(name='div', attrs={'id':'sitemap'}),
|
|
||||||
dict(name='ul', attrs={'class':'erste_zeile'}),
|
|
||||||
dict(name='ul', attrs={'class':'zweite_zeile'}),
|
|
||||||
dict(name='div', attrs={'class':'navi_top_container'})]
|
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
('Newsticker', 'http://www.heise.de/newsticker/heise.rdf'),
|
('Newsticker', 'http://www.heise.de/newsticker/heise.rdf'),
|
||||||
@ -54,5 +43,3 @@ class AdvancedUserRecipe(BasicNewsRecipe):
|
|||||||
|
|
||||||
def print_version(self, url):
|
def print_version(self, url):
|
||||||
return url + '?view=print'
|
return url + '?view=print'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user