mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 20:03:35 +02:00
Update American Thinker
This commit is contained in:
parent
09ca243596
commit
4a713b68f6
1 changed files with 4 additions and 3 deletions
|
|
@ -26,7 +26,8 @@ class AmericanThinker(BasicNewsRecipe):
|
|||
ignore_duplicate_articles = {'title', 'url'}
|
||||
|
||||
remove_javascript = True
|
||||
remove_tags_before = dict(name='h1')
|
||||
auto_cleanup = True
|
||||
#remove_tags_before = dict(name='h1')
|
||||
|
||||
conversion_options = {
|
||||
'comment' : description
|
||||
|
|
@ -48,5 +49,5 @@ def preprocess_raw_html(self, raw, url):
|
|||
(u'http://feeds.feedburner.com/AmericanThinkerBlog')
|
||||
]
|
||||
|
||||
def print_version(self, url):
|
||||
return 'http://www.americanthinker.com/assets/3rd_party/printpage/?url=' + url
|
||||
#def print_version(self, url):
|
||||
#return 'http://www.americanthinker.com/assets/3rd_party/printpage/?url=' + url
|
||||
|
|
|
|||
Loading…
Reference in a new issue