mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Mode Durable
This commit is contained in:
parent
5ab875378a
commit
29a18e5064
@ -20,6 +20,7 @@ class AdventureGamers(BasicNewsRecipe):
|
||||
delay = 2
|
||||
max_articles_per_feed = 100
|
||||
no_stylesheets = True
|
||||
auto_cleanup = True
|
||||
encoding = 'utf-8'
|
||||
remove_javascript = True
|
||||
use_embedded_content = False
|
||||
@ -32,11 +33,9 @@ class AdventureGamers(BasicNewsRecipe):
|
||||
|
||||
html2epub_options = 'publisher="' + publisher + '"\ncomments="' + description + '"\ntags="' + category + '"'
|
||||
|
||||
keep_only_tags = [dict(name='div', attrs={'class':'post'})]
|
||||
|
||||
remove_tags = [dict(name=['object','link','embed','form','img'])]
|
||||
|
||||
feeds = [(u'Articles', u'http://mondedurable.science-et-vie.com/feed/')]
|
||||
feeds = [(u'Articles', u'http://mondedurable.science-et-vie.com/comments/feed/')]
|
||||
|
||||
def preprocess_html(self, soup):
|
||||
mtag = '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user