calibre/recipes/valbybladet_dk.recipe

27 lines
708 B
Python

#!/usr/bin/env python2
# vim:fileencoding=utf-8
# https://manual.calibre-ebook.com/news_recipe.html
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
'''
Valby Bladet
'''
class ValbyBladet_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Valby Bladet'
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'da'
feeds = [
('Valby Bladet', 'http://minby.dk/valby-bladet/feed/'),
('Kommentarer til Valby Bladet', 'http://minby.dk/valby-bladet/comments/feed/'),
]