mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Michelle Malkin
This commit is contained in:
parent
2d72a30759
commit
aff8f66fa1
@ -18,6 +18,8 @@ class MichelleMalkin(BasicNewsRecipe):
|
|||||||
|
|
||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
|
auto_cleanup = True
|
||||||
|
use_embedded_content = False
|
||||||
|
|
||||||
|
|
||||||
conversion_options = {
|
conversion_options = {
|
||||||
@ -29,16 +31,16 @@ class MichelleMalkin(BasicNewsRecipe):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
keep_only_tags = [
|
#keep_only_tags = [
|
||||||
dict(name='div', attrs={'class':'article'})
|
#dict(name='div', attrs={'class':'article'})
|
||||||
]
|
#]
|
||||||
|
|
||||||
remove_tags = [
|
#remove_tags = [
|
||||||
dict(name=['iframe', 'embed', 'object']),
|
#dict(name=['iframe', 'embed', 'object']),
|
||||||
dict(name='div', attrs={'id':['comments', 'commentForm']}),
|
#dict(name='div', attrs={'id':['comments', 'commentForm']}),
|
||||||
dict(name='div', attrs={'class':['postCategories', 'comments', 'blogInfo', 'postInfo']})
|
#dict(name='div', attrs={'class':['postCategories', 'comments', 'blogInfo', 'postInfo']})
|
||||||
|
|
||||||
]
|
#]
|
||||||
|
|
||||||
|
|
||||||
feeds = [(u'http://feeds.feedburner.com/michellemalkin/posts')]
|
feeds = [(u'http://feeds.feedburner.com/michellemalkin/posts')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user