add xinhuanet (news.cn)

Signed-off-by: icedragon <flyingicedragon@qq.com>
This commit is contained in:
icedragon
2023-05-31 15:07:15 +08:00
parent 64096acd2e
commit a0c40774cf
7 changed files with 146 additions and 1 deletions

View File

@@ -237,7 +237,32 @@ def mp_gh(gh=''):
@bp.route('/mp/youwuqiong/<string:author>')
def mp_youwuqiong(author=''):
from rsshub.spiders.mp.youwuqiong import ctx
return render_template('main/atom.xml', **filter_content(ctx(author)))
return render_template('main/atom.xml', **filter_content(ctx(author)))
@bp.route('/xinhuanet/zuixinbobao')
def xinhuanet_zuixinbobao():
from rsshub.spiders.xinhuanet.zuixinbobao import ctx
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/xinhuanet/shizhenglianbo')
def xinhuanet_shizhenglianbo():
from rsshub.spiders.xinhuanet.shizhenglianbo import ctx
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/xinhuanet/yaodianjujiao')
def xinhuanet_yaodianjujiao():
from rsshub.spiders.xinhuanet.yaodianjujiao import ctx
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/xinhuanet/world')
def xinhuanet_world():
from rsshub.spiders.xinhuanet.world import ctx
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/yfchuhai/express/')
def yfchuhai_express():