add feed - ctolib

This commit is contained in:
alphardex
2019-01-17 19:55:19 +08:00
parent 59a70e6bd9
commit ba94100d35
4 changed files with 57 additions and 1 deletions

View File

@@ -37,3 +37,10 @@ def filter_content(ctx):
def chuansongme_articles(category=''):
from rsshub.spiders.chuansongme.articles import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/ctolib/topics/<string:category>')
@bp.route('/ctolib/topics')
def ctolib_topics(category=''):
from rsshub.spiders.ctolib.topics import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))