mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
23 lines
691 B
Plaintext
23 lines
691 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1289990851(BasicNewsRecipe):
|
|
title = u'TSN'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 50
|
|
language = 'en_CA'
|
|
__author__ = 'Nexus'
|
|
no_stylesheets = True
|
|
auto_cleanup = True
|
|
use_embedded_content = False
|
|
INDEX = 'http://tsn.ca/nhl/story/?id=nhl'
|
|
# keep_only_tags = [dict(name='div', attrs={'id':['tsnColWrap']}),
|
|
# dict(name='div', attrs={'id':['tsnStory']})]
|
|
# remove_tags = [dict(name='div', attrs={'id':'tsnRelated'}),
|
|
# dict(name='div', attrs={'class':'textSize'})]
|
|
|
|
feeds = [
|
|
('News',
|
|
'http://www.tsn.ca/datafiles/rss/Stories.xml'),
|
|
]
|