mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
New on Japan by Krittika Goyal
This commit is contained in:
parent
0a45faee12
commit
adc1c1f4be
19
recipes/japan_news.recipe
Normal file
19
recipes/japan_news.recipe
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
from calibre.ebooks.BeautifulSoup import BeautifulSoup
|
||||||
|
|
||||||
|
class NewsOnJapan(BasicNewsRecipe):
|
||||||
|
title = u'News On Japan'
|
||||||
|
language = 'en'
|
||||||
|
__author__ = 'Krittika Goyal'
|
||||||
|
oldest_article = 1 #days
|
||||||
|
max_articles_per_feed = 25
|
||||||
|
use_embedded_content = False
|
||||||
|
|
||||||
|
no_stylesheets = True
|
||||||
|
auto_cleanup = True
|
||||||
|
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
('News',
|
||||||
|
'http://newsonjapan.com/rss/top.xml'),
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user