mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
New recipe for Open Left by XanthanGum
This commit is contained in:
parent
eda2e347c9
commit
800981cb58
22
resources/recipes/open_left.recipe
Normal file
22
resources/recipes/open_left.recipe
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class OpenLeft(BasicNewsRecipe):
|
||||||
|
# Information about the recipe
|
||||||
|
|
||||||
|
title = 'Open Left'
|
||||||
|
description = 'Progressive American commentary on current events'
|
||||||
|
category = 'news, commentary'
|
||||||
|
language = 'en'
|
||||||
|
__author__ = 'Xanthan Gum'
|
||||||
|
|
||||||
|
# Fetch no article older than seven days
|
||||||
|
|
||||||
|
oldest_article = 7
|
||||||
|
|
||||||
|
# Fetch no more than 100 articles
|
||||||
|
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
|
||||||
|
# Fetch the articles from the RSS feed
|
||||||
|
|
||||||
|
feeds = [(u'Articles', u'http://www.openleft.com/rss/rss2.xml')]
|
Loading…
x
Reference in New Issue
Block a user