mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
28 lines
1.0 KiB
Python
28 lines
1.0 KiB
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
|
|
'''
|
|
Dagens Pharma
|
|
'''
|
|
|
|
|
|
class Dagenspharma_dk(BasicNewsRecipe):
|
|
__author__ = 'CoderAllan.github.com'
|
|
title = 'Dagens Pharma'
|
|
description = 'Først med professionelles nyheder om medicin'
|
|
category = 'medicin, healthcare, Denmark'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 50
|
|
auto_cleanup = True
|
|
language = 'da'
|
|
|
|
# Feed are found here: http://dagenspharma.dk/feeds/
|
|
feeds = [
|
|
('Dagens Pharma', 'http://dagenspharma.dk/feed/'),
|
|
('Kommentarer til Dagens Pharma', 'http://dagenspharma.dk/comments/feed/'),
|
|
('Regulering – Dagens Pharma', 'http://dagenspharma.dk/sektion/regulering/rss'),
|
|
('Tilskud – Dagens Pharma', 'http://dagenspharma.dk/sektion/tilskud/rss'),
|
|
]
|