mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Lamebook by atordo
This commit is contained in:
parent
9f08718ac0
commit
272560e857
27
recipes/lamebook.recipe
Normal file
27
recipes/lamebook.recipe
Normal file
@ -0,0 +1,27 @@
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class LamebookRecipe(BasicNewsRecipe):
|
||||
title = 'Lamebook'
|
||||
__author__ = 'atordo'
|
||||
description = 'Funny Facebook Statuses, Fails, LOLs and More - The Original'
|
||||
cover_url = 'http://www.lamebook.com/wp-content/themes/lamebook/images/h1-new2.png'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 50
|
||||
auto_cleanup = False
|
||||
no_stylesheets = True
|
||||
remove_javascript = True
|
||||
language = 'en'
|
||||
use_embedded_content = False
|
||||
publication_type = 'blog'
|
||||
|
||||
keep_only_tags = [
|
||||
dict(name='div', attrs={'class':'entry'})
|
||||
,dict(name='ol', attrs={'class':'commentlist'})
|
||||
]
|
||||
|
||||
remove_tags = [
|
||||
dict(name='div', attrs={'style':['clear: left; float: left; margin: 0 15px 0 0;'
|
||||
,'float: left; margin: 0 15px 0 0;']})
|
||||
]
|
||||
|
||||
feeds = [('Lamebook', 'http://feeds.feedburner.com/Lamebook')]
|
Loading…
x
Reference in New Issue
Block a user