from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1292550626(BasicNewsRecipe):
    title = 'The Sage News - Satire'
    __author__ = 'Brian Hahn'
    description = 'News without boundaries, Satire'
    oldest_article = 200
    max_articles_per_feed = 150
    no_stylesheets = True
    use_embedded_content = False
    publisher = 'The Sage News Network'
    category = 'News, Alberta, Canada'
    language = 'en_CA'
    encoding = 'iso-8859-1'
    cover_url = 'http://www.sagenews.ca/images/satire-cover.jpg'
    remove_tags_before = dict(id='ContentPanel')
    remove_tags_after = dict(id='ContentPanel')
    remove_tags = [dict(name='div', attrs={'id': 'BottomAds'}), dict(name='div', attrs={
        'id': 'moreStories'}), dict(name='div', attrs={'id': 'StoryNavigation'})]
    extra_css = 'img { margin:5px }'
    feeds = [
        ('Satire World', 'http://www.sagenews.ca/Satire-World.rss'),
        ('Satire Politics', 'http://www.sagenews.ca/Satire-Politics.rss'),
        ('Satire Justice', 'http://www.sagenews.ca/Satire-Justice.rss'),
        ('Satire Health', 'http://www.sagenews.ca/Satire-Health.rss'),
        ('Satire Environment', 'http://www.sagenews.ca/Satire-Environment.rss'),
        ('Satire Living', 'http://www.sagenews.ca/Satire-Living.rss'),
        ('Satire Sports', 'http://www.sagenews.ca/Satire-Sports.rss'),
        ('Satire Business', 'http://www.sagenews.ca/Satire-Business.rss'),
        ('Satire Agriculture', 'http://www.sagenews.ca/Satire-Agriculture.rss'),
        ('Satire Humour', 'http://www.sagenews.ca/Satire-Humour.rss'),
    ]
