| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
# https://manual.calibre-ebook.com/news_recipe.html |
| 4 |
from __future__ import absolute_import, division, print_function, unicode_literals |
| 5 |
|
| 6 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 7 |
|
| 8 |
''' |
| 9 |
Dagens Medicin |
| 10 |
''' |
| 11 |
|
| 12 |
|
| 13 |
class Dagensmedicin_dk(BasicNewsRecipe): |
| 14 |
__author__ = 'CoderAllan.github.com' |
| 15 |
title = 'Dagens Medicin' |
| 16 |
description = 'Uafhængig nyhedsavis om sundhedssektoren' |
| 17 |
category = 'news, medicin, healthcare, Denmark' |
| 18 |
oldest_article = 7 |
| 19 |
max_articles_per_feed = 50 |
| 20 |
auto_cleanup = True |
| 21 |
language = 'da' |
| 22 |
|
| 23 |
# Feed are found here: http://dagensmedicin.dk/feeds |
| 24 |
feeds = [ |
| 25 |
('Dagens Medicin', 'http://dagensmedicin.dk/feed/'), |
| 26 |
('Leder', 'http://dagensmedicin.dk/sektion/opinion/leder/rss'), |
| 27 |
('Kommentarer til Dagens Medicin', 'http://dagensmedicin.dk/comments/feed/'), |
| 28 |
('Almen Praksis ', 'http://dagensmedicin.dk/sektion/almen-praksis/rss'), |
| 29 |
('Cancer', 'http://dagensmedicin.dk/sektion/cancer/rss'), |
| 30 |
('Hjerte-kar', 'http://dagensmedicin.dk/sektion/hjerte-kar/rss'), |
| 31 |
('Psykiatri', 'http://dagensmedicin.dk/sektion/psykiatri/rss'), |
| 32 |
('Diabetes', 'http://dagensmedicin.dk/sektion/diabetes/rss'), |
| 33 |
('Debat', 'http://dagensmedicin.dk/sektion/opinion/debat/rss'), |
| 34 |
('Blogs', 'http://dagensmedicin.dk/sektion/opinion/blogs/rss'), |
| 35 |
('Stikpillen', 'http://dagensmedicin.dk/sektion/opinion/stikpillen/rss'), |
| 36 |
] |