mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 23:27:44 +01:00
New recipe for Open Left by XanthanGum
This commit is contained in:
parent
eda2e347c9
commit
800981cb58
1 changed files with 22 additions and 0 deletions
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…
Reference in a new issue