calibre/recipes/sciencedaily.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

41 lines
1.9 KiB
Python

#!/usr/bin/env python
__license__ = 'GPL v3'
__copyright__ = '2008-2017, Darko Miletic <darko.miletic at gmail.com>'
'''
sciencedaily.com
'''
from calibre.web.feeds.news import BasicNewsRecipe
class ScienceDaily(BasicNewsRecipe):
title = u'ScienceDaily'
__author__ = u'Darko Miletic'
title = 'ScienceDaily'
description = ('ScienceDaily is one of the Internet\'s most popular '
'science news web sites. Since starting in 1995, the '
'award-winning site has earned the loyalty of students, '
'researchers, healthcare professionals, government '
'agencies, educators and the general public around the '
'world. Now with more than 6 million monthly visitors '
'worldwide, ScienceDaily generates nearly 20 million '
'page views a month and is steadily growing in its '
'global audience.')
category = 'medicin, healthcare'
oldest_article = 7
max_articles_per_feed = 50
auto_cleanup = True
language = 'en'
encoding = 'utf-8'
# Feed are found here: https://www.sciencedaily.com/newsfeeds.htm
feeds = [
('Latest Science News', 'https://www.sciencedaily.com/rss/top.xml'),
('All Top News', 'https://www.sciencedaily.com/rss/top/science.xml'),
('Health News', 'https://www.sciencedaily.com/rss/top/health.xml'),
('Technology News', 'https://www.sciencedaily.com/rss/top/technology.xml'),
('Environment News', 'https://www.sciencedaily.com/rss/top/environment.xml'),
('Society News', 'https://www.sciencedaily.com/rss/top/society.xml'),
('Strange &amp; Offbeat News', 'https://www.sciencedaily.com/rss/strange_offbeat.xml'),
]