View Single Post
Old 03-14-2020, 12:41 AM   #1
duluoz
Newsbeamer dev
duluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheese
 
Posts: 123
Karma: 1000
Join Date: Dec 2011
Device: Kindle Voyage
Glasgow Herald - feeds need updating

Hi Kovid,

The RSS feeds addresses for the Glasgow Herald have moved. The updated recipe should look like the below. Would you mind updating it? Thanks!

Code:
from calibre.web.feeds.news import BasicNewsRecipe


class GlasgowHerald(BasicNewsRecipe):
    title = u'Glasgow Herald v2'
    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/')

        ]
duluoz is offline   Reply With Quote