#!/usr/bin/env python
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import absolute_import, division, print_function, unicode_literals

from calibre.web.feeds.news import BasicNewsRecipe

'''
BT Nyheder
'''


class Bt_dk(BasicNewsRecipe):
    __author__ = 'CoderAllan.github.com'
    title = 'BT Nyheder'
    category = 'newspaper, news, localnews, sport, politics, health, entertainment, music, crime, cars, Denmark'
    oldest_article = 7
    max_articles_per_feed = 50
    auto_cleanup = True
    language = 'da'

    # Feed are found here: http://www.bt.dk/rss-feeds
    feeds = [
        ('Top nyheder', 'http://www.bt.dk/bt/top/rss'),
        ('Seneste nyheder', 'http://www.bt.dk/nyheder/seneste/rss'),
        ('Underholdning', 'http://www.bt.dk/underholdning/seneste/rss'),
        ('Forbrug', 'http://www.bt.dk/forbrug/seneste/rss'),
        ('Sundhed', 'http://www.bt.dk/sundhed/seneste/rss'),
        ('Krimi', 'http://www.bt.dk/krimi/seneste/rss'),
        ('Politik', 'http://www.bt.dk/politik/seneste/rss'),
        ('Misik', 'http://www.bt.dk/musik/seneste/rss'),
        ('Utroligt', 'http://www.bt.dk/utroligt/seneste/rss'),
        ('Biler', 'http://www.bt.dk/biler/seneste/rss'),
        ('Digital', 'http://www.bt.dk/digital/seneste/rss'),
    ]
