mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
96cf45469e
commit
1a0cdd30cd
@ -18,6 +18,7 @@ class ColumbusDispatchRecipe(BasicNewsRecipe):
|
|||||||
|
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
auto_cleanup = True
|
auto_cleanup = True
|
||||||
|
#auto_cleanup_keep = '//div[@id="story-photos"]'
|
||||||
# Feeds from http://www.dispatch.com/live/content/rss/index.html
|
# Feeds from http://www.dispatch.com/live/content/rss/index.html
|
||||||
feeds = [
|
feeds = [
|
||||||
('Local',
|
('Local',
|
||||||
@ -32,6 +33,24 @@ class ColumbusDispatchRecipe(BasicNewsRecipe):
|
|||||||
'http://www.dispatch.com/content/syndication/opinion_columns.xml'),
|
'http://www.dispatch.com/content/syndication/opinion_columns.xml'),
|
||||||
('Life and Arts',
|
('Life and Arts',
|
||||||
'http://www.dispatch.com/content/syndication/lae_life-and-arts.xml'),
|
'http://www.dispatch.com/content/syndication/lae_life-and-arts.xml'),
|
||||||
|
('OSU Sports',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_osu.xml'),
|
||||||
|
('Auto Racing',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_auto-racing.xml'),
|
||||||
|
('Outdoors',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_outdoors.xml'),
|
||||||
|
('Bengals',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_bengals.xml'),
|
||||||
|
('Indians',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_indians.xml'),
|
||||||
|
('Clippers',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_clippers.xml'),
|
||||||
|
('Crew',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_crew.xml'),
|
||||||
|
('Reds',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_reds.xml'),
|
||||||
|
('Blue Jackets',
|
||||||
|
'http://www.dispatch.com/content/syndication/sports_bluejackets.xml'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,6 +66,11 @@ class EXTHHeader(object):
|
|||||||
# last update time
|
# last update time
|
||||||
pass
|
pass
|
||||||
elif id == 503: # Long title
|
elif id == 503: # Long title
|
||||||
|
# Amazon seems to regard this as the definitive book title
|
||||||
|
# rather than the title from the PDB header. In fact when
|
||||||
|
# sending MOBI files through Amazon's email service if the
|
||||||
|
# title contains non ASCII chars or non filename safe chars
|
||||||
|
# they are messed up in the PDB header
|
||||||
try:
|
try:
|
||||||
title = content.decode(codec)
|
title = content.decode(codec)
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user