add benzinga ratings

This commit is contained in:
hillerliao
2020-04-23 21:54:04 +08:00
parent 434fdf3c67
commit 5cb773b6a9
3 changed files with 46 additions and 1 deletions

View File

@@ -150,4 +150,9 @@ def jintiankansha_column(category=''):
@bp.route('/interotc/cpgg/<string:category>')
def interotc_cpgg(category=''):
from rsshub.spiders.interotc.cpgg import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/benzinga/ratings/<string:category>')
def benzinga_ratings(category=''):
from rsshub.spiders.benzinga.ratings import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))