| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class LamebookRecipe(BasicNewsRecipe): |
| 5 |
title = 'Lamebook' |
| 6 |
__author__ = 'atordo' |
| 7 |
description = 'Funny Facebook Statuses, Fails, LOLs and More - The Original' |
| 8 |
cover_url = 'http://www.lamebook.com/wp-content/themes/lamebook/images/h1-new2.png' |
| 9 |
oldest_article = 7 |
| 10 |
max_articles_per_feed = 50 |
| 11 |
auto_cleanup = False |
| 12 |
no_stylesheets = True |
| 13 |
remove_javascript = True |
| 14 |
language = 'en' |
| 15 |
use_embedded_content = False |
| 16 |
publication_type = 'blog' |
| 17 |
reverse_article_order = True |
| 18 |
encoding = 'utf-8' |
| 19 |
|
| 20 |
keep_only_tags = [dict(name='div', attrs={'class': 'entry'}), dict(name='ol', attrs={'class': 'commentlist'})] |
| 21 |
|
| 22 |
remove_tags = [dict(name='div', attrs={'style': ['clear: left; float: left; margin: 0 15px 0 0;', 'float: left; margin: 0 15px 0 0;']})] |
| 23 |
|
| 24 |
feeds = [('Lamebook', 'http://feeds.feedburner.com/Lamebook')] |