mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update United Daily
This commit is contained in:
parent
18d1d0d3e8
commit
a73d813da4
@ -63,7 +63,7 @@ class UnitedDaily(BasicNewsRecipe):
|
|||||||
extra_css = '''div[id='story_title'] {font-size:200%; font-weight:bold;} td[class='story_title'] {font-size:200%; font-weight:bold;} td[class='story_title'] td[class='story_title']>div {font-size:200%; font-weight:bold;}'''
|
extra_css = '''div[id='story_title'] {font-size:200%; font-weight:bold;} td[class='story_title'] {font-size:200%; font-weight:bold;} td[class='story_title'] td[class='story_title']>div {font-size:200%; font-weight:bold;}'''
|
||||||
|
|
||||||
__author__ = 'Eddie Lau'
|
__author__ = 'Eddie Lau'
|
||||||
__version__ = '1.1'
|
__version__ = '1.2'
|
||||||
language = 'zh_TW'
|
language = 'zh_TW'
|
||||||
publisher = 'United Daily News Group'
|
publisher = 'United Daily News Group'
|
||||||
description = 'United Daily (Taiwan)'
|
description = 'United Daily (Taiwan)'
|
||||||
@ -71,16 +71,18 @@ class UnitedDaily(BasicNewsRecipe):
|
|||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
use_embedded_content = False
|
use_embedded_content = False
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
encoding = 'big5'
|
encoding = 'utf-8'
|
||||||
conversion_options = {'linearize_tables':True}
|
conversion_options = {'linearize_tables':True}
|
||||||
masthead_url = 'http://udn.com/NEWS/2004/images/logo_udn.gif'
|
masthead_url = 'http://udn.com/NEWS/2004/images/logo_udn.gif'
|
||||||
cover_url = 'http://udn.com/NEWS/2004/images/logo_udn.gif'
|
cover_url = 'http://udn.com/NEWS/2004/images/logo_udn.gif'
|
||||||
keep_only_tags = [dict(name='td', attrs={'class':['story_title']}),
|
auto_cleanup = True
|
||||||
dict(name='div', attrs={'id':['story_title']}),
|
#keep_only_tags = [dict(name='td', attrs={'class':['story_title']}),
|
||||||
dict(name='td', attrs={'class':['story_author']}),
|
# dict(name='div', attrs={'id':['story_title']}),
|
||||||
dict(name='div', attrs={'id':['story_author']}),
|
# dict(name='td', attrs={'class':['story_author']}),
|
||||||
dict(name='td', attrs={'class':['story']}),
|
# dict(name='div', attrs={'id':['story_author']}),
|
||||||
dict(name='div', attrs={'id':['story']}),
|
# dict(name='td', attrs={'class':['story']}),
|
||||||
]
|
# dict(name='div', attrs={'id':['story']}),
|
||||||
remove_tags = [dict(name='div', attrs={'id':['mvouter']})]
|
# ]
|
||||||
|
#remove_tags = [dict(name='div', attrs={'id':['mvouter']})]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user