From 2d4e024f6052dfccfe109c40f5fc003af0b3ee10 Mon Sep 17 00:00:00 2001 From: hillerliao Date: Thu, 10 Jun 2021 14:25:01 +0800 Subject: [PATCH] chouti search --- rsshub/blueprints/main.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rsshub/blueprints/main.py b/rsshub/blueprints/main.py index 4bc7734..d6f9e03 100644 --- a/rsshub/blueprints/main.py +++ b/rsshub/blueprints/main.py @@ -163,4 +163,9 @@ def benzinga_ratings(category=''): @bp.route('/chouti/section/') def chouti_section(category=''): from rsshub.spiders.chouti.section import ctx - return render_template('main/atom.xml', **filter_content(ctx(category))) \ No newline at end of file + return render_template('main/atom.xml', **filter_content(ctx(category))) + +@bp.route('/chouti/search/') +def chouti_search(category=''): + from rsshub.spiders.chouti.search import ctx + return render_template('main/atom.xml', **filter_content(ctx(category)))