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

[WIP] Add a -u tag to open a video with BV number #314

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

happytommyl
Copy link

@happytommyl happytommyl commented Apr 15, 2024

#311 (comment)

启动时使用-u参数传入BV号,直接跳转视频

TODO:

  1. 识别直播间、番剧、合集等信息,目前只做了识别BV号

@xfangfang
Copy link
Owner

感谢贡献这个pr,我的想法是可以继续完善一下通过命令行开启的各项功能,不仅仅局限于 BV,动态、番剧等等最好也一并支持,要实现这一点可能就需要更好地重构一下目前已有的命令行解析部分。
这个我感觉可以通过集成一些已有的比较出色的命令行解析库来实现,准备有时间去查一查,看看哪个库更适合。

@dragonflylee
Copy link
Contributor

个人觉得这个解析库挺不错的
https://github.com/adishavit/argh

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

Successfully merging this pull request may close these issues.

3 participants