#!/usr/bin/env python
# vim:fileencoding=utf-8
# License: GPLv3 Copyright: 2015, Kovid Goyal <kovid at kovidgoyal.net>

from __future__ import absolute_import, division, print_function, unicode_literals

from calibre.web.feeds.news import BasicNewsRecipe


class GlasgowHerald(BasicNewsRecipe):
    title = u'Glasgow Herald'
    oldest_article = 1
    max_articles_per_feed = 100
    no_stylesheets = True
    language = 'en_GB'

    __author__ = 'Kovid Goyal'
    use_embedded_content = False

    no_stylesheets = True
    auto_cleanup = True

    feeds = [
        (u'News', u'https://www.heraldscotland.com/news/rss/'),
        (u'Sport', u'https://www.heraldscotland.com/sport/rss/'),
        (u'Business', u'https://www.heraldscotland.com/business_hq/rss/'),
        (u'Lifestyle', u'https://www.heraldscotland.com/life_style/rss/'),
        (u'Arts & Entertainment', u'https://www.heraldscotland.com/arts_ents/rss/',),
        (u'Politics', u'https://www.heraldscotland.com/politics/rss/'),
        (u'Columnists', u'https://www.heraldscotland.com/opinion/columnists/rss/')

        ]
