rongchenlin / BiliBili-Lucky-Draw

B站抽奖转发——薅羊毛脚本 : 一个小脚本能够帮助你去看看B站上面今天有哪些Up有抽奖活动,然后还能帮助你自动进行抽奖(转发动态+关注),毕竟抽奖总得试试吗,万一中奖了呢
GNU General Public License v3.0
339 stars 44 forks source link

两个bat的修改路径应该要怎么改呀? #1

Closed Starduster-lin closed 7 months ago

Starduster-lin commented 1 year ago

两个bat的修改路径应该要怎么改呀?

rongchenlin commented 1 year ago

将路径名称改成该项目在你电脑的绝对路径,比如你放在D盘,就改成D:\Bilibili

Starduster-lin commented 1 year ago

需要创建我对应的虚拟环境是么?

Starduster-lin commented 1 year ago

将路径名称改成该项目在你电脑的绝对路径,比如你放在D盘,就改成D:\Bilibili

我在pycharm上尝试运行了一下,能获取cookie登录成功,但是执行到获取用户列表就不行了

C:\Users\12911\AppData\Roaming\Python\Python310\site-packages\requests__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.15) or chardet (3.0.4) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported " INFO:root:2023-04-08 21:27:21 INFO:root:login by cookie success ! _insert:insert into t_log(function_name,content,note,ip,insert_time) values('get_fans_list','获取用户列表出错:','p0','192.168.3.52','2023-04-08 21:28:10.265258') ERROR:root:(1525, "Incorrect DATETIME value: '2023'") _insert:insert into t_log(function_name,content,note,ip,insert_time) values('start_forward','转发动态出错:','p1','192.168.3.52','2023-04-08 21:28:13.018453') INFO:root:2023-04-08 21:28:13 INFO:root:开始转发 _insert:insert into t_log(function_name,content,note,ip,insert_time) values('send_start_forward','筛选任务开始发送通知出错:','无','192.168.3.52','2023-04-08 21:28:13.410914') INFO:root:start main task

Starduster-lin commented 1 year ago

需要创建我对应的虚拟环境是么?

两个bat的问题解决了,依然是执行到获取用户列表就不行了