-
Notifications
You must be signed in to change notification settings - Fork 27
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
bgmi update: 添加指定weekday下载 #779
base: v5
Are you sure you want to change the base?
Conversation
添加指定weekday更新的功能
bangumi信息的fixture name改为从config中读取数据源
添加可自定义番剧更新时间
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v5 #779 +/- ##
==========================================
- Coverage 82.30% 80.88% -1.42%
==========================================
Files 44 39 -5
Lines 2842 2909 +67
==========================================
+ Hits 2339 2353 +14
- Misses 503 556 +53
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
确定是v5分支吗? |
嗯,我看v5和master区别有点大,就在v5上面写的,免得以后不好合 |
少了个update --recent的用例,我再补下吧 |
加新数据库字段的话需要写个数据库迁移SQL |
这个change命令感觉没啥必要( |
应该在哪写呢,我看upgrade那里是直接重建的( Lines 24 to 43 in 1ca8d3f
|
先判断之前的版本号,然后用exec_sql |
我的想法是配合update --recent使用的,因为我发现bgmi cal得到的update_day有部分和我需求不一样,比如有些番字幕组更的晚一两天,有的是源站排的不一样(比较少),这些情况可以自己调整一下 |
你会Python的话我建议你自己写个脚本替代掉默认的update命令,因为你加的这两个我都感觉没什么必要… |
是没什么必要,其实就是想着给有同样需求的人用嘛,所以都是在不影响原有功能的基础上加的 |
bgmi update
添加可指定weekday进行下载bgmi change
自定义番剧的更新日期