cailianshe press subject

This commit is contained in:
hillerliao
2020-03-25 12:47:40 +08:00
parent 8f129e9c00
commit 3e5345fc15
3 changed files with 48 additions and 1 deletions

View File

@@ -104,4 +104,9 @@ def eastmoney_report(category='', type=''):
@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)))
return render_template('main/atom.xml', **filter_content(ctx(type, category)))
@bp.route('/cls/subject/<string:category>')
def cls_subject(category=''):
from rsshub.spiders.cls.subject import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))