__author__ = ' (lrfurtado@yahoo.com.br)' from calibre.web.feeds.news import BasicNewsRecipe class LeJournalDeMontrealRecipe(BasicNewsRecipe): title = u'Le Journal de Montreal' description = u'Le Journal de Montreal' __author__ = 'Luciano Furtado' language = 'fr' oldest_article = 7 use_embedded_content = 0 max_articles_per_feed = 15 remove_tags = [ dict(name='ul', attrs={'id': 'mainNav'}), dict(name='div', attrs={'id': 'boxPolitique'}), dict(name='div', attrs={'id': 'boxScoop'}), dict(name='div', attrs={'id': 'DossierSpec'}), dict(name='div', attrs={'id': 'channelBoxes'}), dict(name='div', attrs={'id': 'sectionBoxes'}), dict(name='div', attrs={'id': 'header'}), dict(name='div', attrs={'id': 'footer'}), dict(name='div', attrs={'id': 'navbarCanoe_container'}), dict(name='div', attrs={'id': 'popularCanoe'}), dict(name='div', attrs={'id': 'textAds'}), dict(name='div', attrs={'id': '24heures'}), dict(name='div', attrs={'class': 'bottomBox clear'}), dict(name='div', attrs={'class': 'articleControls thin'}), ] feeds = [ (u'Actualites', u'http://www.canoe.com/rss/feed/nouvelles/ljm_actualites.xml'), (u'Arts et spectacle', u'http://www.canoe.com/rss/feed/nouvelles/ljm_arts.xml'), (u'Sports', u'http://www.canoe.com/rss/feed/nouvelles/ljm_sports.xml'), (u'Chroniques', u'http://www.canoe.com/rss/feed/nouvelles/ljm_chroniques.xml'), ]