add xuangubao theme

This commit is contained in:
hillerliao
2020-03-11 23:07:17 +08:00
parent 37dddb4ac7
commit 4efd65f909
3 changed files with 63 additions and 1 deletions

View File

@@ -99,4 +99,9 @@ def caixin_scroll(category=''):
@bp.route('/eastmoney/report/<string:type>/<string:category>')
def eastmoney_report(category='', type=''):
from rsshub.spiders.eastmoney.report import ctx
return render_template('main/atom.xml', **filter_content(ctx(type,category)))
return render_template('main/atom.xml', **filter_content(ctx(type,category)))
@bp.route('/xuangubao/<string:type>/<string:category>')
def xuangubao_xuangubao(type='', category=''):
from rsshub.spiders.xuangubao.xuangubao import ctx
return render_template('main/atom.xml', **filter_content(ctx(type, category)))