mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN: Improved HLN recipe
This commit is contained in:
parent
3c68df5475
commit
df881c5de4
@ -10,7 +10,7 @@ from calibre.ebooks.BeautifulSoup import Tag
|
||||
|
||||
class HLN_be(BasicNewsRecipe):
|
||||
title = 'Het Belang Van Limburg'
|
||||
__author__ = 'Darko Miletic'
|
||||
__author__ = 'Darko Miletic and Sujata Raman'
|
||||
description = 'News from Belgium in Dutch'
|
||||
publisher = 'Het Belang Van Limburg'
|
||||
category = 'news, politics, Belgium'
|
||||
@ -32,6 +32,14 @@ class HLN_be(BasicNewsRecipe):
|
||||
|
||||
html2epub_options = 'publisher="' + publisher + '"\ncomments="' + description + '"\ntags="' + category + '"\noverride_css=" p {text-indent: 0cm; margin-top: 0em; margin-bottom: 0.5em} "'
|
||||
|
||||
extra_css = '''
|
||||
body{font-family:"Verdana",sans-serif; font-size:80%;}
|
||||
.h1{font-family:"Verdana",sans-serif; font-size:large; font-weight:bold;}
|
||||
.captionEmbeddedMasterObject{font-style:italic; font-size:80%;}
|
||||
.gen_footnote3{font-size:80%; color: #666666;}
|
||||
'''
|
||||
|
||||
|
||||
keep_only_tags = [dict(name='div', attrs={'class':'art_box2'})]
|
||||
remove_tags = [
|
||||
dict(name=['embed','object'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user