mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
31 lines
757 B
Plaintext
31 lines
757 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class TN(BasicNewsRecipe):
|
|
title = u'Taipei Times'
|
|
language = 'en_CN'
|
|
__author__ = 'Krittika Goyal'
|
|
oldest_article = 1 #days
|
|
max_articles_per_feed = 25
|
|
use_embedded_content = False
|
|
|
|
no_stylesheets = True
|
|
auto_cleanup = True
|
|
auto_cleanup_keep = '//*[@class="main_ipic"]'
|
|
|
|
feeds = [
|
|
('Editorials',
|
|
'http://www.taipeitimes.com/xml/editorials.rss'),
|
|
('Taiwan',
|
|
'http://www.taipeitimes.com/xml/taiwan.rss'),
|
|
('Features',
|
|
'http://www.taipeitimes.com/xml/feat.rss'),
|
|
('Business',
|
|
'http://www.taipeitimes.com/xml/biz.rss'),
|
|
('World',
|
|
'http://www.taipeitimes.com/xml/world.rss'),
|
|
('Sports',
|
|
'http://www.taipeitimes.com/xml/sport.rss'),
|
|
]
|
|
|
|
|