mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-17 07:26:49 +00:00
add xinhuanet (news.cn)
Signed-off-by: icedragon <flyingicedragon@qq.com>
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user