add infoq topic

This commit is contained in:
hillerliao
2020-04-18 11:18:10 +08:00
parent 24a4b8f0dd
commit 434fdf3c67
4 changed files with 41 additions and 2 deletions

View File

@@ -60,6 +60,12 @@ def infoq_recommend():
return render_template('main/atom.xml', **filter_content(ctx()))
@bp.route('/infoq/topic/<int:category>')
def infoq_topic(category=''):
from rsshub.spiders.infoq.topic import ctx
return render_template('main/atom.xml', **filter_content(ctx(category)))
@bp.route('/dxzg/notice')
def dxzg_notice():
from rsshub.spiders.dxzg.notice import ctx