add app store top app

This commit is contained in:
Hiller Liao
2022-08-06 17:19:02 +08:00
parent f9d97b1611
commit f1e054d16c
3 changed files with 82 additions and 1 deletions

View File

@@ -225,12 +225,16 @@ def bjnews_channel(category=''):
from rsshub.spiders.bjnews.channel import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/appstore/top/<string:cc>/<string:genreid>')
def appstore_top(cc='', genreid=''):
from rsshub.spiders.appstore.top import ctx
return render_template('main/atom.xml', **filter_content(ctx(cc,genreid)))
@bp.route('/filter/')
def rss_filter():
from rsshub.spiders.rssfilter.filter import ctx
feed_url = request.args.get("feed")
return render_template('main/atom.xml', **filter_content(ctx(feed_url)))
'''
@bp.route('/test')
@bp.route('/test/测试')