fetch article for mp tag page

This commit is contained in:
hillerliao
2021-08-07 21:38:45 +08:00
parent 41d2e57a19
commit 01fbea43c6
3 changed files with 44 additions and 0 deletions

View File

@@ -169,3 +169,7 @@ 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)))