docs: support parameter suffix *#7946
Merged
TonyRL merged 8 commits intoDIYgod:masterfrom May 7, 2022
Merged
Conversation
`*` denotes a zero or more parameter matches, so the parameter including `*` is optional. (https://github.com/pillarjs/path-to-regexp#zero-or-more)
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/diy/rsshub-do-not-use/8eLcDW6SNU2cQPePogcUrc6ouRGn |
Contributor
|
Successfully generated as following: https://rsshub-do-not-use-9tov038mo-diy.vercel.app/``` - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/## 新RSS检查列表 / New RSS Script Checklist - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/">https://rsshub-do-not-use-9tov038mo-diy.vercel.app/--> - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 这个PR中包含了新的路由吗? Does this PR add new route? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - 如果有, 请完成检查列表. If yes, please finish the check list - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - **如果你的PR符合下方某个事项, 也请注明. If any of the checklist item meets your PR, please fill it out.** - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [x] <- 这样打勾 - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 是否提供了文档? Documentation provided? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [ ] 是否提供了英文文档? EN Documentation provided? - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 是否支持全文获取? Is this RSS Script support fulltext? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [ ] 如果全文获取中需要访问文章链接, 是否使用了缓存? If fulltext requires to fetch detail pages, is cache used in the process? - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [缓存说明](https://docs.rsshub.app/joinus/quick-start.html#ti-jiao-xin-de-rsshub-gui-ze-bian-xie-jiao-ben-shi-yong-huan-cun) | [How to use cache](https://docs.rsshub.app/joinus/quick-start.html#ti-jiao-xin-de-rsshub-gui-ze-bian-xie-jiao-ben-shi-yong-huan-cun) - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 目标是否有明显的反爬/频率限制? Is there any sign of anti-bot or rate limit? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [ ] 如果有, 是否有对应的措施? (延长缓存时间, 写文档说明, etc.) If yes, do your code reflect this sign? (e.g. write documentations, use long cache time) - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 目标是否有提供日期? Is there a date in the source? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [ ] 如果有,包是否正确解析? If there is, can this script provide this info? - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - [ ] 如果有提供解析能力,时区是否正确调整? Is the timezone correctly provided? - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - 如果有提供日期,但是没有提供解析,请说明原因 If there is a date but this script does not parse, please provide your reason. - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 是否引入的新的包? Any new package introduced? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - 如果有, 请说明原因. If yes, please state your reason - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/- [ ] 是否使用了`Puppeteer`? Make use of `Puppeteer`? - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - 如果有, 请说明原因. If yes, please state your reason - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/## 说明 / Note - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/">https://rsshub-do-not-use-9tov038mo-diy.vercel.app/--> - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/将文档中以 [`*` 结尾的参数](https://github.com/pillarjs/path-to-regexp#zero-or-more) 识别为可选参数. - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - Successhttps://rsshub-do-not-use-9tov038mo-diy.vercel.app/例如 - **Failed**https://rsshub-do-not-use-9tov038mo-diy.vercel.app/``` xml - **Failed**">https://rsshub-do-not-use-9tov038mo-diy.vercel.app/ - **Failed** |
SettingDust
approved these changes
Jul 29, 2021
13 tasks
Contributor
|
你这格式不对吧…,路由测试到下面了。 |
Contributor
Author
哦… 后来改过来了
这样如何?
|
Contributor
|
参数是多余的词,单个前的量词也没必要 |
TonyRL
requested changes
Feb 1, 2022
Collaborator
TonyRL
left a comment
There was a problem hiding this comment.
Please also update docs/en/joinus/quick-start.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
*denotes a zero or more parameter matches, so the parameter including*is optional. (https://github.com/pillarjs/path-to-regexp#zero-or-more)该 PR 相关 Issue / Involved issue
Close #
#7944 (comment)
完整路由地址 / Example for the proposed route(s)
新RSS检查列表 / New RSS Script Checklist
Puppeteer? Make use ofPuppeteer?说明 / Note
将文档中以
*结尾的参数 识别为可选参数.例如
效果
