mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix New York Post
This commit is contained in:
parent
2f4949485a
commit
25db5f9713
@ -17,6 +17,7 @@ class NYPost(BasicNewsRecipe):
|
||||
no_stylesheets = True
|
||||
encoding = 'utf8'
|
||||
use_embedded_content = False
|
||||
auto_cleanup = True
|
||||
language = 'en'
|
||||
masthead_url = 'http://www.nypost.com/rw/SysConfig/WebPortal/nypost/images/nyp_logo_230x32.gif'
|
||||
extra_css = ' body{font-family: Arial,Helvetica,sans-serif } img{margin-bottom: 0.4em} '
|
||||
@ -28,7 +29,7 @@ class NYPost(BasicNewsRecipe):
|
||||
, 'language' : language
|
||||
}
|
||||
|
||||
keep_only_tags=[dict(name='div', attrs={'id':'story'})]
|
||||
#keep_only_tags=[dict(name='div', attrs={'id':'story'})]
|
||||
|
||||
feeds = [(u'Articles', u'http://www.nypost.com/rss/all_section.xml')]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user