mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
23 lines
758 B
Plaintext
23 lines
758 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class AmericanProspect(BasicNewsRecipe):
|
|
title = u'American Prospect'
|
|
__author__ = u'Michael Heinz, a.peter'
|
|
version = 2
|
|
|
|
oldest_article = 30
|
|
language = 'en'
|
|
max_articles_per_feed = 100
|
|
recursions = 0
|
|
no_stylesheets = True
|
|
remove_javascript = True
|
|
|
|
#keep_only_tags = [dict(name='div', attrs={'class':'pad_10L10R'})]
|
|
#remove_tags = [dict(name='form'), dict(name='div', attrs={'class':['bkt_caption','sharebox noprint','badgebox']})]
|
|
use_embedded_content = False
|
|
|
|
no_stylesheets = True
|
|
auto_cleanup = True
|
|
feeds = [(u'Articles', u'feed://www.prospect.org/articles_rss.jsp')]
|
|
|