add mp recommended tag

This commit is contained in:
hillerliao
2023-02-26 20:58:08 +08:00
parent 2013e37398
commit ad2f247833
5 changed files with 646 additions and 97 deletions

View File

@@ -204,6 +204,11 @@ def mp_tag(mp='', tag=''):
from rsshub.spiders.mp.tag import ctx
return render_template('main/atom.xml', **filter_content(ctx(mp,tag)))
@bp.route('/mp/rtag/<string:c1>/<string:tag>')
def mp_rtag(c1='', tag=''):
from rsshub.spiders.mp.rtag import ctx
return render_template('main/atom.xml', **filter_content(ctx(c1, tag)))
@bp.route('/producthunt/search/<string:keyword>/<string:period>')
def producthunt_search(keyword='', period=''):
from rsshub.spiders.producthunt.search import ctx