calibre/recipes/altomdata_dk.recipe
Kovid Goyal 29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30

30 lines
922 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
'''
Alt om DATA, Datatid TechLife - Download, test, antivirus, netværk
'''
class WwwAltomdata_dk(BasicNewsRecipe):
__author__ = 'CoderAllan.github.com'
title = 'Alt om DATA, Datatid TechLife - Download, test, antivirus, netværk'
category = 'newspaper, news, localnews, sport, culture, Denmark'
oldest_article = 7
max_articles_per_feed = 50
language='da'
resolve_internal_links = True
remove_empty_feeds = True
auto_cleanup = True
language = 'da'
feeds = [
('Alt om DATA, Datatid TechLife', 'http://www.altomdata.dk/feed'),
('Kommentarer til Alt om DATA, Datatid TechLife', 'http://www.altomdata.dk/comments/feed'),
]