mp status from sogou

This commit is contained in:
hillerliao
2021-08-10 21:21:17 +08:00
parent 01fbea43c6
commit 77f1412c0c
3 changed files with 40 additions and 1 deletions

View File

@@ -169,7 +169,13 @@ def chouti_section(category=''):
def chouti_search(category=''):
from rsshub.spiders.chouti.search import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/mp/tag/<string:mp>/<string:tag>')
def mp_tag(mp='', tag=''):
from rsshub.spiders.mp.tag import ctx
return render_template('main/atom.xml', **filter_content(ctx(mp,tag)))
return render_template('main/atom.xml', **filter_content(ctx(mp,tag)))
@bp.route('/mp/gh/<string:gh>')
def mp_gh(gh=''):
from rsshub.spiders.mp.gh import ctx
return render_template('main/atom.xml', **filter_content(ctx(gh)))