-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from Johnserf-Seed/main
main -> v0.0.1.5-pw2 24/Feb/21- 24/Feb/27
- Loading branch information
Showing
12 changed files
with
376 additions
and
138 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Ask question | ||
about: 和项目有关的提问 | ||
title: "[QUESTION]" | ||
labels: 提问(question) | ||
assignees: '' | ||
|
||
--- | ||
|
||
- [ ] ~~*在提问时请注意不要包含个人敏感信息*~~ | ||
- [ ] 我明白我的提问可能不会得到明确回复或解决。 | ||
|
||
**问题描述** | ||
简要描述你想要获取支持或询问的内容。 | ||
|
||
**其他细节** | ||
提供任何相关的细节或背景信息,例如你要询问的函数或与项目相关的具体内容。 | ||
|
||
**截图/代码示例** | ||
如果有必要,可以提供截图或代码示例以更好地说明问题或询问的内容。 | ||
|
||
**期望的支持** | ||
简要说明你期望从社区或项目维护者那里得到的支持或回答。 | ||
|
||
**其他** | ||
如果有其他需要补充的内容,请在此处添加。 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
name: Bug report | ||
about: 创建详细错误报告帮助解决你遇到的问题 | ||
title: "[BUG]" | ||
labels: 故障(bug) | ||
assignees: '' | ||
|
||
--- | ||
|
||
- [ ] 我查看了 [文档](https://johnserf-seed.github.io/f2/quick-start.html) 以及 [已关闭的问题](https://github.com/Johnserf-Seed/f2/issues?q=is%3Aissue+is%3Aclosed) 以寻找可能的解决方案。 | ||
- [ ] 我在 [常见的问题与解决办法](https://johnserf-seed.github.io/f2/question-answer/qa.html) 中找不到我的问题。 | ||
- [ ] ~~*你的问题是公开的,请注意删除个人敏感内容再上传*~~ | ||
- [ ] 不按照模板填写的问题将不会得到优先的处理。 | ||
|
||
- 如果错误问题是可视化的,请在**屏幕截图**贴截图。如果你是开发者请在**错误重现**提供一个最小的代码示例来演示该问题。 | ||
- 相同的问题将会被标记`重复(duplicate)`,如果你的问题被标记为`已确认(confirmed)`则会在后续的推送中修复,请时刻留意。 | ||
- 退订邮件提醒请点击邮件的底部`unsubscribe`。 | ||
|
||
|
||
**详细描述错误** | ||
简明扼要地描述遇到的错误。 | ||
|
||
**系统平台** | ||
<details> | ||
<summary>单击展开</summary> | ||
Q:你在哪个平台(Win/Linux/Mac)上运行?你使用的是什么浏览器?你使用的是什么终端软件?你使用的F2是什么版本? | ||
|
||
A: | ||
|
||
- 操作系统: [e.g. Win10 x64 22H2 19045.4046] | ||
- 浏览器 [e.g. Edge 122.0.2365.52] | ||
- 终端 [e.g. WT 1.18.10301.0] | ||
- F2版本 [e.g. 0.0.1.4] | ||
|
||
</details> | ||
|
||
**错误重现** | ||
<details> | ||
<summary>单击展开</summary> | ||
Q: 请你复制并粘贴出错时运行的命令和配置文件内容,以及重现该行为的步骤。如果你一次性就提供完整信息,就会节省很多解决问题的时间。 | ||
|
||
A: | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
Q: 请添加调试命令`f2 -d DEBUG`重新运行出错的命令并提供日志目录下的日志文件。 | ||
|
||
A: | ||
|
||
Q: 如果是开发者请提供最小的代码示例 | ||
|
||
A: | ||
|
||
```python | ||
|
||
``` | ||
|
||
</details> | ||
|
||
**预期行为** | ||
简明扼要地描述期望发生的事情。 | ||
|
||
**屏幕截图** | ||
请添加截图以帮助解释你的问题。 | ||
|
||
**日志文件** | ||
请添加调试日志文件以帮助解释你的问题。 | ||
|
||
**其他** | ||
如有,可以添加有关问题的其他信息。 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Feature request | ||
about: 为此项目提出建议 | ||
title: "[FEATRUE / REQUEST]" | ||
labels: 需求建议(enhancement) | ||
assignees: '' | ||
|
||
--- | ||
|
||
在提出功能请求之前,请考虑在 https://github.com/Johnserf-Seed/f2/discussions 上发布反馈或在Discord中讨论。 | ||
|
||
**Q: 你有检查过类似建议的问题吗?** | ||
在所有的问题列表里检查是否有类似的建议。 | ||
- [ ] 是 | ||
- [ ] 否 | ||
|
||
**Q: 你将如何改进 F2?** | ||
请尽可能详细地说明。请提供你希望它如何工作的示例代码或流程。 | ||
A: | ||
|
||
**Q: 它能为你解决什么问题?** | ||
该功能能解决你的什么问题?我也许可以建议一种现有的解决方法。 | ||
A: | ||
|
||
**其他** | ||
如有,请添加有关功能请求的任何其他内容或截图。 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# 命令行 | ||
|
||
`F2` 配置文件独立于 CLI 命令参数且`最低优先`。 | ||
|
||
## CLI临时配置 | ||
|
||
CLI 参数命令优先级最高,所以在不修改配置文件的情况下就可以使用 CLI 参数更改为下载「抖音」用户`喜欢`的所有作品。因此也可以在 CLI 中临时下载A的直播,B的作品与C的喜欢。 | ||
|
||
::: code-group | ||
|
||
```bash [用户A] | ||
$ f2 -d dy -c C:\Users\JohnserfSeed\Desktop\A.yaml -M live -u https://live.douyin.com/xxxxxxxxx | ||
``` | ||
|
||
```bash [用户B] | ||
$ f2 -d dy -c C:\Users\JohnserfSeed\Desktop\B.yaml -M post | ||
``` | ||
|
||
```bash [用户C] | ||
$ f2 -d dy -c C:\Users\JohnserfSeed\Desktop\C.yaml -M like | ||
``` | ||
::: | ||
|
||
赶快试试吧! | ||
|
||
::: tip 说明 | ||
之后的版本会简化操作。不需要再指定该用户的直播间就可以切换下载该用户直播的模式。 | ||
更多的 CLI 命令请查阅 [CLI 参考](/cli)。 | ||
::: | ||
|
||
::: warning 重要 | ||
- 命名方式也不受限制,你可以设置`dy-A.yaml`、`dy-B.yaml`、`tk-A.yaml`、`tk-B.ymal`用以区分不同app的用户配置。 | ||
- 配置的操作是通用的,举例用的是douyin的配置文件,tiktok与其他 F2 应用的配置文件的操作是一模一样的。 | ||
::: | ||
|
||
|
||
## 拓展 | ||
|
||
如果不想设置很多配置文件,那就使用主配置。 | ||
|
||
下载「抖音」用户`发布`的所有作品,只需要在主配置文件中设置`mode: post`即可。 | ||
|
||
::: code-group | ||
|
||
```sh [Windows] | ||
$ f2 dy -c f2/conf/app.yaml | ||
``` | ||
|
||
```sh [Linux] | ||
$ f2 dy -c f2/conf/app.yaml | ||
``` | ||
|
||
```sh [MacOS] | ||
$ f2 dy -c f2/conf/app.yaml | ||
``` | ||
::: | ||
|
||
下载「抖音」用户`喜欢`的所有作品,CLI 中设置`mode: like`即可。 | ||
|
||
::: code-group | ||
|
||
```sh [Windows] | ||
$ f2 dy -M like -c f2/conf/app.yaml | ||
``` | ||
|
||
```sh [Linux] | ||
$ f2 dy -M like -c f2/conf/app.yaml | ||
``` | ||
|
||
```sh [MacOS] | ||
$ f2 dy -M like -c f2/conf/app.yaml | ||
``` | ||
::: | ||
|
||
下载「抖音」用户`单个`的作品: | ||
|
||
::: code-group | ||
|
||
```sh [Windows] | ||
$ f2 dy -M one -u https://v.douyin.com/iRNBho6u/ -c conf/app.yaml | ||
``` | ||
|
||
```sh [Linux] | ||
$ f2 dy -M one -u https://v.douyin.com/iRNBho6u/ -c conf/app.yaml | ||
``` | ||
|
||
```sh [MacOS] | ||
$ f2 dy -M one -u https://v.douyin.com/iRNBho6u/ -c conf/app.yaml | ||
``` | ||
::: | ||
|
||
F2 会智能的识别出混乱文本中的链接,同时也支持长短链的输入。 | ||
|
||
::: details 支持的链接格式 | ||
|
||
<<< @/snippets/douyin/support-link.md | ||
::: | ||
|
||
::: tip 需要注意的是 | ||
在CLI模式下,带有其他信息的文本需要用英文引号将其完整包裹: | ||
|
||
```sh [Windows] | ||
$ f2 dy -M one -u '7.64 gOX:/ [email protected] 05/14 世界这本书 又多读了一页。冰岛????旅行记# 冰岛 https://v.douyin.com/iR2syBRn/ 复制此链接,打开Dou音搜索,直接观看视! | ||
' -c conf/app.yaml | ||
``` | ||
::: |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.