Update American Thinker

This commit is contained in:
Kovid Goyal 2014-09-06 18:40:11 +05:30
parent 09ca243596
commit 4a713b68f6

View File

@ -26,7 +26,8 @@ class AmericanThinker(BasicNewsRecipe):
ignore_duplicate_articles = {'title', 'url'} ignore_duplicate_articles = {'title', 'url'}
remove_javascript = True remove_javascript = True
remove_tags_before = dict(name='h1') auto_cleanup = True
#remove_tags_before = dict(name='h1')
conversion_options = { conversion_options = {
'comment' : description 'comment' : description
@ -48,5 +49,5 @@ class AmericanThinker(BasicNewsRecipe):
(u'http://feeds.feedburner.com/AmericanThinkerBlog') (u'http://feeds.feedburner.com/AmericanThinkerBlog')
] ]
def print_version(self, url): #def print_version(self, url):
return 'http://www.americanthinker.com/assets/3rd_party/printpage/?url=' + url #return 'http://www.americanthinker.com/assets/3rd_party/printpage/?url=' + url