| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class AdvancedUserRecipe1290013720(BasicNewsRecipe): |
| 5 |
title = 'RDS' |
| 6 |
__author__ = 'Nexus' |
| 7 |
language = 'en_CA' |
| 8 |
description = 'Hockey News' |
| 9 |
oldest_article = 7 |
| 10 |
max_articles_per_feed = 25 |
| 11 |
no_stylesheets = True |
| 12 |
remove_tags = [dict(name='div', attrs={'id': 'rdsWrap'}), dict(name='table', attrs={'id': 'aVoir'}), dict(name='div', attrs={'id': 'imageChronique'})] |
| 13 |
keep_only_tags = [dict(name='div', attrs={'id': ['enteteChronique']}), dict(name='div', attrs={'id': ['contenuChronique']})] |
| 14 |
|
| 15 |
feeds = [('RDS', 'http://www.rds.ca/hockey/fildepresse_rds.xml')] |