You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1、评价“list index out of range”修复
错误表现:list index out of range
修改文件: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)',大家根据情况适当调整。
改后效果:
2、追评无反应修复
错误表现:list index out of range
修改文件:jd_comment.py
修改位置:第415行修改代码
原始 '//*[@id="main"]/div[2]/div[2]/table/tr[@class="tr-bd"]')
修改为 '//*[@id="main"]/div[2]/div[2]/table/tbody/tr[@class="tr-bd"]')
改后效果:
The text was updated successfully, but these errors were encountered:
1、评价“list index out of range”修复
错误表现:list index out of range
修改文件:jd_comment.py
修改位置:第288行后面添加如下代码
重点是判断'javascript:void(0)',大家根据情况适当调整。
改后效果:
2、追评无反应修复
错误表现:list index out of range
修改文件:jd_comment.py
修改位置:第415行修改代码
原始
'//*[@id="main"]/div[2]/div[2]/table/tr[@class="tr-bd"]')
修改为
'//*[@id="main"]/div[2]/div[2]/table/tbody/tr[@class="tr-bd"]')
改后效果:
The text was updated successfully, but these errors were encountered: