mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Fleshbot
This commit is contained in:
parent
bf003b8d1f
commit
0dc16efa89
@ -20,10 +20,10 @@ class Fleshbot(BasicNewsRecipe):
|
|||||||
language = 'en'
|
language = 'en'
|
||||||
masthead_url = 'http://fbassets.s3.amazonaws.com/images/uploads/2012/01/fleshbot-logo.png'
|
masthead_url = 'http://fbassets.s3.amazonaws.com/images/uploads/2012/01/fleshbot-logo.png'
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
body{font-family: "Lucida Grande",Helvetica,Arial,sans-serif}
|
body{font-family: "Lucida Grande",Helvetica,Arial,sans-serif}
|
||||||
img{margin-bottom: 1em}
|
img{margin-bottom: 1em}
|
||||||
h1{font-family :Arial,Helvetica,sans-serif; font-size:large}
|
h1{font-family :Arial,Helvetica,sans-serif; font-size:large}
|
||||||
'''
|
'''
|
||||||
conversion_options = {
|
conversion_options = {
|
||||||
'comment' : description
|
'comment' : description
|
||||||
, 'tags' : category
|
, 'tags' : category
|
||||||
@ -31,13 +31,12 @@ class Fleshbot(BasicNewsRecipe):
|
|||||||
, 'language' : language
|
, 'language' : language
|
||||||
}
|
}
|
||||||
|
|
||||||
feeds = [(u'Articles', u'http://www.fleshbot.com/feed')]
|
feeds = [(u'Articles', u'http://fleshbot.com/?feed=rss2')]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
{'class': 'feedflare'},
|
{'class': 'feedflare'},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def preprocess_html(self, soup):
|
def preprocess_html(self, soup):
|
||||||
return self.adeify_images(soup)
|
return self.adeify_images(soup)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user