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

list index out of range #51

Open
Cjsah opened this issue Dec 27, 2023 · 3 comments
Open

list index out of range #51

Cjsah opened this issue Dec 27, 2023 · 3 comments

Comments

@Cjsah
Copy link

Cjsah commented Dec 27, 2023

## 开始执行... 2023-12-27 14:26:02

已获取环境变量 CK

开始第 1 个账号评价...


待评价订单 21----待追评 1----服务评价 0----已评价 0

1.开始评价晒单
当前共有21个评价。
list index out of range

待评价订单 21----待追评 1----服务评价 0----已评价 0

2.开始追评!
当前共有1个需要追评。

待评价订单 21----待追评 1----服务评价 0----已评价 0

该账号运行完成!


## 执行结束...   耗时 2 秒
@a193567337
Copy link

我也是这样!!

@xmo-code
Copy link

+1

@danceking
Copy link

使用chatgpt修改过能跳过错误继续执行了,大家可以试试
jd_comment.py文件第288行后面添加下面代码:

                opts['logger'].info(f'第{i + 1}个订单链接: %s',pid_data)
                if pid_data and pid_data[0] == 'javascript:void(0)':
                    opts['logger'].info(f'第{i + 1}个订单链接错误: %s',pid_data)
                    continue

重点是判断'javascript:void(0)',大家根据情况适当调整。

改后效果:
微信截图_20240222154039
微信截图_20240222154054

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

4 participants