add baidu suggest

This commit is contained in:
hillerliao
2022-12-15 22:41:42 +08:00
parent 1d5c8dd1d7
commit 2013e37398
4 changed files with 48 additions and 1 deletions

View File

@@ -219,6 +219,11 @@ def economist_wordlbrief(category=''):
from rsshub.spiders.economist.worldbrief import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/baidu/suggest/<string:category>')
def baidu_suggest(category=''):
from rsshub.spiders.baidu.suggest import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/mp/gh/<string:gh>')
def mp_gh(gh=''):
from rsshub.spiders.mp.gh import ctx