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

前面显示cookie有效,后面又显示没有携带cookie #19

Open
Cairl opened this issue Aug 31, 2022 · 1 comment
Open

前面显示cookie有效,后面又显示没有携带cookie #19

Cairl opened this issue Aug 31, 2022 · 1 comment

Comments

@Cairl
Copy link

Cairl commented Aug 31, 2022

2022-08-31 04:59:59.627 | INFO | main:run:13 - ------登录检查开始------
2022-08-31 05:00:02.017 | INFO | common.login_check:is_login:17 - Cookie有效,登陆成功
2022-08-31 05:00:02.017 | INFO | main:run:15 - ------登录检查结束------
2022-08-31 05:00:02.018 | INFO | common.dy_glows:get_glow:25 - ------正在获取荧光棒------

[WDM] - Downloading: 0%| | 0.00/6.74M [00:00<?, ?B/s]
[WDM] - Downloading: 11%|█ | 768k/6.74M [00:00<00:00, 7.81MB/s]
[WDM] - Downloading: 27%|██▋ | 1.82M/6.74M [00:00<00:00, 9.79MB/s]
[WDM] - Downloading: 51%|█████ | 3.43M/6.74M [00:00<00:00, 13.0MB/s]
[WDM] - Downloading: 92%|█████████▏| 6.21M/6.74M [00:00<00:00, 19.3MB/s]
[WDM] - Downloading: 100%|██████████| 6.74M/6.74M [00:00<00:00, 17.0MB/s]
2022-08-31 05:00:09.166 | INFO | common.dy_glows:go_room:97 - 打开直播间
2022-08-31 05:00:13.227 | INFO | common.dy_glows:go_room:112 - 刷新页面以完成登录
2022-08-31 05:00:18.319 | INFO | common.dy_glows:go_room:121 - 没有携带cookie进入页面,请重新检查cookie
2022-08-31 05:00:18.319 | INFO | common.dy_glows:go_room:122 - 再次刷新页面
2022-08-31 05:00:29.271 | INFO | common.dy_glows:go_room:126 - 关闭直播间
2022-08-31 05:00:29.618 | INFO | common.dy_glows:get_glow:30 - ------背包检查开始------
2022-08-31 05:00:29.619 | ERROR | common.dy_glows:get_glow:50 - 请更新COOKIE
2022-08-31 05:00:29.619 | INFO | common.dy_glows:get_glow:53 - ------背包检查结束------
2022-08-31 05:00:29.619 | WARNING | main:run:47 - 背包中没有荧光棒,无法执行赠送,任务即将结束
2022-08-31 05:00:29.620 | DEBUG | main:run:48 -

@TheSlientnight
Copy link
Owner

这里是由于斗鱼修改了元素的位置导致无法正确判断是否携带cookie,实际上已经正确获取了,这里可以将此处代码移除或无视,晚点可以重新pull一下

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

2 participants