Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli模式无法启动下载 #625

Closed
chopper1026 opened this issue Jan 1, 2024 · 7 comments
Closed

cli模式无法启动下载 #625

chopper1026 opened this issue Jan 1, 2024 · 7 comments
Assignees

Comments

@chopper1026
Copy link

chopper1026 commented Jan 1, 2024

描述出现的错误
使用文档中的启动命令指定配置文件无法运行。

bug复现
复现这次行为的步骤:
1、更新f2最新版本0.0.1.1。
2、验证#623通过了。
3、已初始化配置文件成功,并通过auto-cookie获取到了cookie。
4、执行:f2 dy -c conf/dy.yaml,显示内容同f2 dy -h一致,并没有运行下载。

截图
image
期望效果:
image

桌面(请填写以下信息):
-操作系统:windows10 64bit
-vpn代理:关闭
-项目版本:latest
-py版本:3.11.1
-依赖库的版本:f2 0.0.1.1

附文
在此处添加有关此问题的其他备注。

@chopper1026
Copy link
Author

log:
2024-01-01-15-21-41.log

@chopper1026
Copy link
Author

补充:使用初始化的配置文件,不做任何改动,同样无法触发下载,只显示帮助界面

@Johnserf-Seed
Copy link
Owner

补充:使用初始化的配置文件,不做任何改动,同样无法触发下载,只显示帮助界面

不做改动怎么会下载呢?

@Johnserf-Seed
Copy link
Owner

补充:使用初始化的配置文件,不做任何改动,同样无法触发下载,只显示帮助界面

https://johnserf-seed.github.io/f2/site-config.html

@zaneyew
Copy link

zaneyew commented Jan 1, 2024

Meet the same error, only help information while configured as instructed.

@Johnserf-Seed
Copy link
Owner

Meet the same error, only help information while configured as instructed.

you need setup f2 conf about cookie for app https://johnserf-seed.github.io/f2/site-config.html

@chopper1026
Copy link
Author

chopper1026 commented Jan 1, 2024

补充:使用初始化的配置文件,不做任何改动,同样无法触发下载,只显示帮助界面

https://johnserf-seed.github.io/f2/site-config.html

这块我是看过了的,但怎么说呢,文档的连贯性不是很好,上下文顺序有些问题,整体顺序更类似于:安装—>初始化配置—>改初始化配置的参数(cookie、mode、url等)—>指定配置文件运行,这个主配置文件在初次阅读时并不能知道具体用途,把它放在开发者指南中的话,仅作为使用者而非开发者很容易就忽略过去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants