optimize bjnews

This commit is contained in:
hillerliao
2022-05-15 14:41:25 +08:00
parent e8ffba0776
commit 16c001c300
3 changed files with 23 additions and 5 deletions

View File

@@ -215,6 +215,11 @@ def yfchuhai_express():
from rsshub.spiders.yfchuhai.express import ctx
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/bjnews/<string:category>')
def bjnews_channel(category=''):
from rsshub.spiders.bjnews.channel import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
'''
@bp.route('/test')
@bp.route('/test/测试')