calibre/recipes/sciencedaily.recipe
Kovid Goyal 11de7539f8
Update Science Daily
Fixes #1709887 [News Feed for "Science Daily" faulty](https://bugs.launchpad.net/calibre/+bug/1709887)
2017-10-30 22:03:53 +05:30

41 lines
1.9 KiB
Python

#!/usr/bin/env python2
__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'),
]