chouti search

This commit is contained in:
hillerliao
2021-06-10 14:25:01 +08:00
committed by GitHub
parent d972406c9e
commit 2d4e024f60

View File

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