add jiemian newsflash

This commit is contained in:
hillerliao
2020-02-21 21:34:03 +08:00
parent ffa0a15b50
commit bdeb80cc12
3 changed files with 51 additions and 0 deletions

View File

@@ -81,3 +81,7 @@ def earningsdate_businesswire():
from rsshub.spiders.earningsdate.businesswire import ctx
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/jiemian/newsflash/<string:category>')
def jiemian_newsflash(category=''):
from rsshub.spiders.jiemian.newsflash import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))