fix: 知乎用户文章 (#6760)

* fix 知乎用户文章

* fix a problem reported by DeepScan

* [CodeFactor] Apply fixes to commit 487521b

[ci skip] [skip ci]

Co-authored-by: codefactor-io <support@codefactor.io>
This commit is contained in:
Colin-XKL
2021-01-22 18:14:10 -05:00
committed by GitHub
co-authored by codefactor-io
parent ce1a525fcb
commit f3e7f55c57
4 changed files with 34 additions and 48 deletions
+5 -1
View File
@@ -1106,7 +1106,11 @@ rule
### 用户文章
<Route author="whtsky" example="/zhihu/people/posts/dcjanus" path="/zhihu/people/posts/:id" :paramsDesc="['作者 id, 可在用户主页 URL 中找到']" anticrawler="1" radar="1" rssbud="1"/>
<Route author="whtsky Colin-XKL" example="/zhihu/posts/people/frederchen" path="/zhihu/posts/:usertype/:id" :paramsDesc="['作者 id, 可在用户主页 URL 中找到', '用户类型usertype,参考用户主页的URL。目前有两种,见下表']" anticrawler="1" radar="1" rssbud="1"/>
| 普通用户 | 机构用户 |
| -------- | -------- |
| people | org |
### 专栏