add pgyer

This commit is contained in:
hillerliao
2022-04-26 23:36:26 +08:00
parent 91e10ec3ea
commit 4ae1d74e33
2 changed files with 32 additions and 0 deletions

View File

@@ -195,6 +195,10 @@ def producthunt_search(keyword='', period=''):
from rsshub.spiders.producthunt.search import ctx
return render_template('main/atom.xml', **filter_content(ctx(keyword,period)))
@bp.route('/pgyer/<string:category>')
def pgyer_app(category=''):
from rsshub.spiders.pgyer.app import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/mp/gh/<string:gh>')
def mp_gh(gh=''):