mp articles from youwuqiong

This commit is contained in:
hillerliao
2021-08-25 11:50:49 +08:00
parent bd2a8dd566
commit bf1754318a
5 changed files with 433 additions and 266 deletions

View File

@@ -183,4 +183,9 @@ def mp_tag(mp='', tag=''):
@bp.route('/mp/gh/<string:gh>')
def mp_gh(gh=''):
from rsshub.spiders.mp.gh import ctx
return render_template('main/atom.xml', **filter_content(ctx(gh)))
return render_template('main/atom.xml', **filter_content(ctx(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)))