| 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 |
newz.dk |
| 10 |
''' |
| 11 |
|
| 12 |
|
| 13 |
class Newz_dk(BasicNewsRecipe): |
| 14 |
__author__ = 'CoderAllan.github.com' |
| 15 |
title = 'newz.dk' |
| 16 |
description = 'Nyheder for rigtige nørder' |
| 17 |
category = 'newspaper, news, localnews, sport, culture, Denmark' |
| 18 |
oldest_article = 7 |
| 19 |
max_articles_per_feed = 50 |
| 20 |
auto_cleanup = True |
| 21 |
language = 'da' |
| 22 |
|
| 23 |
# Feed are found here: https://newz.dk/feeds |
| 24 |
feeds = [ |
| 25 |
('Newz', 'https://newz.dk/rss'), |
| 26 |
('Forums', 'https://newz.dk/forum/rss'), |
| 27 |
('Artikler', 'https://newz.dk/forum/artikler/rss'), |
| 28 |
('Afstemninger', 'https://newz.dk/forum/afstemninger/rss'), |
| 29 |
('Tagwall', 'https://newz.dk/forum/tagwall/rss'), |
| 30 |
('Hardware', 'https://newz.dk/forum/hardware/rss'), |
| 31 |
('Software', 'https://newz.dk/forum/software/rss'), |
| 32 |
('Programmering', 'https://newz.dk/forum/programmering/rss'), |
| 33 |
('Support', 'https://newz.dk/forum/support/rss'), |
| 34 |
('Køb / Salg', 'https://newz.dk/forum/koeb-salg/rss'), |
| 35 |
('Jobs', 'https://newz.dk/forum/jobs/rss'), |
| 36 |
('Demo /LAN-parties', 'https://newz.dk/forum/demo-lan-parties/rss'), |
| 37 |
('Folding@Home', 'https://newz.dk/forum/folding-home/rss'), |
| 38 |
('Gallerier', 'https://newz.dk/forum/gallerier/rss'), |
| 39 |
('news.dk', 'https://newz.dk/forum/newz-dk/rss'), |
| 40 |
] |