add chouti topic

This commit is contained in:
hillerliao
2020-10-20 21:15:05 +08:00
parent ae6ba5977a
commit e1bfc3142f
4 changed files with 47 additions and 22 deletions

View File

@@ -158,4 +158,9 @@ def interotc_cpgg(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)))
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/chouti/section/<string:category>')
def chouti_section(category=''):
from rsshub.spiders.chouti.section import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))