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

[BUG] --init-config 出错:缺乏URL参数,详情看命令帮助 #70

Closed
4 tasks done
jifferent opened this issue Apr 5, 2024 · 1 comment
Closed
4 tasks done
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push)

Comments

@jifferent
Copy link

jifferent commented Apr 5, 2024

  • 我查看了 文档 以及 已关闭的问题 以寻找可能的解决方案。

  • 我在 常见的问题与解决办法 中找不到我的问题。

  • 你的问题是公开的,请注意删除个人敏感内容再上传

  • 不按照模板填写的问题将不会得到优先的处理。

  • 如果错误问题是可视化的,请在屏幕截图贴截图。如果你是开发者请在错误重现提供一个最小的代码示例来演示该问题。

  • 相同的问题将会被标记重复(duplicate),如果你的问题被标记为已确认(confirmed)则会在后续的推送中修复,请时刻留意。

  • 退订邮件提醒请点击邮件的底部unsubscribe

详细描述错误
简明扼要地描述遇到的错误。

系统平台

单击展开 Q:你在哪个平台(Win/Linux/Mac)上运行?你使用的是什么浏览器?你使用的是什么终端软件?你使用的F2是什么版本?

A:

  • 操作系统: ubuntu 22.04
  • 浏览器 Chrome
  • 终端 shell
  • F2版本 v0.0.1.5

错误重现

单击展开 Q: 请你复制并粘贴出错时运行的命令和配置文件内容,以及重现该行为的步骤。如果你一次性就提供完整信息,就会节省很多解决问题的时间。

A:

Q: 请添加调试命令f2 -d DEBUG重新运行出错的命令并提供日志目录下的日志文件。

(douyin)  user@ubuntu: f2 -d DEBUG dy --init-config dy.yaml
DEBUG    开启调试模式 (Debug mode on)
INFO     App: douyin
INFO     douyin 应用配置文件生成成功,保存至 /home/user/f2/dy.yaml
INFO     主配置路径:/home/user/f2/f2/conf/app.yaml
INFO     自定义配置路径:/home/user/f2/f2/conf/app.yaml
DEBUG    主配置参数:{'cookie': None, 'max_connections': 5, 'max_counts': 0, 'max_retries': 5, 'max_tasks': 5, 'naming': '{create}_{desc}', 'page_counts': 5,
        'path': 'Download', 'timeout': 10, 'proxies': {'http': None, 'https': None}}
DEBUG    自定义配置参数:{'cookie': None, 'max_connections': 5, 'max_counts': 0, 'max_retries': 5, 'max_tasks': 5, 'naming': '{create}_{desc}', 'page_counts':
        5, 'path': 'Download', 'timeout': 10, 'proxies': {'http': None, 'https': None}}
DEBUG    CLI参数:{'cookie': None, 'max_connections': 5, 'max_counts': 0, 'max_retries': 5, 'max_tasks': 5, 'naming': '{create}_{desc}', 'page_counts': 5,
        'path': 'Download', 'timeout': 10, 'proxies': {'http': None, 'https': None}, 'url': None, 'music': None, 'cover': None, 'desc': None, 'folderize':
        None, 'mode': None, 'interval': None, 'languages': 'zh_CN', 'lyric': None, 'auto_cookie': None, 'sso_login': None, 'headers': {'User-Agent':
        'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36', 'Referer':
        'https://www.douyin.com/'}}
ERROR    缺乏URL参数,详情看命令帮助

Q: 如果是开发者请提供最小的代码示例

A:

预期行为
简明扼要地描述期望发生的事情。

屏幕截图
请添加截图以帮助解释你的问题。

日志文件
请添加调试日志文件以帮助解释你的问题。

其他
如有,可以添加有关问题的其他信息。

@jifferent jifferent added the 故障(bug) 代码问题导致的错误(Bugs caused by code problems) label Apr 5, 2024
@jifferent jifferent changed the title [BUG] --init-config 出错, URL参数 [BUG] --init-config 出错:缺乏URL参数,详情看命令帮助 Apr 5, 2024
@Johnserf-Seed
Copy link
Owner

生成完之后就开始运行了,你可以无视,配置后再正常运行

@Johnserf-Seed Johnserf-Seed added the 已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push)
Projects
None yet
Development

No branches or pull requests

2 participants