mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
28 lines
808 B
Python
28 lines
808 B
Python
#!/usr/bin/env python2
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class SBM(BasicNewsRecipe):
|
|
title = 'Science Based Medicine'
|
|
__author__ = 'BuzzKill'
|
|
description = 'Exploring issues and controversies in the relationship between science and medicine'
|
|
oldest_article = 5
|
|
max_articles_per_feed = 15
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
auto_cleanup = True
|
|
encoding = 'utf-8'
|
|
publisher = 'SBM'
|
|
category = 'science, sbm, ebm, blog, pseudoscience'
|
|
language = 'en'
|
|
|
|
lang = 'en-US'
|
|
|
|
conversion_options = {
|
|
'comment': description, 'tags': category, 'publisher': publisher, 'language': lang, 'pretty_print': True
|
|
}
|
|
|
|
feeds = [(u'Science Based Medicine',
|
|
u'http://www.sciencebasedmedicine.org/?feed=rss2')]
|