| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class PajamasMedia(BasicNewsRecipe): |
| 5 |
title = 'Pajamas Media' |
| 6 |
description = 'Provides exclusive news and opinion for forty countries.' |
| 7 |
language = 'en' |
| 8 |
__author__ = 'Krittika Goyal' |
| 9 |
oldest_article = 2 # days |
| 10 |
max_articles_per_feed = 25 |
| 11 |
recursions = 1 |
| 12 |
match_regexps = [r'http://pajamasmedia.com/blog/.*/2/$'] |
| 13 |
|
| 14 |
remove_stylesheets = True |
| 15 |
auto_cleanup = True |
| 16 |
feeds = [ |
| 17 |
('pajamas Media', 'http://feeds.feedburner.com/PajamasMedia'), |
| 18 |
] |