mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
26 lines
604 B
Python
26 lines
604 B
Python
#!/usr/bin/env python
|
|
# 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
|
|
'''
|
|
sn.dk
|
|
'''
|
|
|
|
|
|
class Sn_dk(BasicNewsRecipe):
|
|
__author__ = 'CoderAllan.github.com'
|
|
title = 'sn.dk'
|
|
description = 'Sjællandske medier'
|
|
category = 'newspaper, news, localnews, culture, Denmark'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 50
|
|
auto_cleanup = True
|
|
language = 'da'
|
|
|
|
feeds = [
|
|
('Nyheder', 'http://sn.dk/rss'),
|
|
|
|
]
|
|
|