| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class Real_world_economics_review(BasicNewsRecipe): |
| 5 |
title = 'Real-world economis review blog' |
| 6 |
oldest_article = 7 |
| 7 |
max_articles_per_feed = 100 |
| 8 |
use_embedded_content = False |
| 9 |
__author__ = 'Julio Map' |
| 10 |
language = 'en' |
| 11 |
|
| 12 |
no_stylesheets = True |
| 13 |
|
| 14 |
keep_only_tags = dict(name='div', attrs={'id': 'main'}) |
| 15 |
remove_tags = [ |
| 16 |
dict(name='div', attrs={'id': 'postpath'}), |
| 17 |
dict(name='div', attrs={'class': 'robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing'}), |
| 18 |
dict(name='div', attrs={'class': 'sharedaddy sd-sharing-enabled'}), |
| 19 |
] |
| 20 |
|
| 21 |
feeds = [('Real-World Economics Review Blog', 'http://rwer.wordpress.com/feed/')] |