Giter Site home page Giter Site logo

auto_comment's People

Contributors

6dylan6 avatar cp0204 avatar z-henry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

auto_comment's Issues

运行错误

🔔带图评价, 开始!

====================共1个京东账号Cookie=========

==================脚本执行- 北京时间(UTC+8):5/23/2023, 02:28:45=====================

faker 友情提示:您的脚本正常运行中,频道:https://t.me/scriptalking
node:internal/modules/cjs/loader:1078
throw err;
^

Error: Cannot find module './function/dylanx'
Require stack:

  • /ql/data/scripts/shufflewzc_faker2/jd_comment.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object. (/ql/data/scripts/shufflewzc_faker2/jd_comment.js:7:3167)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/ql/data/scripts/shufflewzc_faker2/jd_comment.js' ]
    }

Node.js v18.16.0

报错

运行完那个依赖检测,再运行评价脚本就报错,显示 CK错误,请确认是否电脑版CK!

定时设置需要手动修改吗

拉取后默认的定时设置是8 8 2 1 *,
也就是每年1月2号8点08分运行一次,很显然频率太低了,
想问问大家都是怎么修改比较合理,
还是大家都是需要时手动操作?

运行后不评价

已获取环境变量 CK
已启用AI评价

  • 未使用代理,请确认当前网络环境可直连:api.openai.com

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

待评价订单 7----待追评 5----服务评价 3----已评价 0

1.开始评价晒单
当前共有7个评价。

开始第1个订单: 274978072397
'choices'

待评价订单 7----待追评 5----服务评价 3----已评价 0

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

开始第1个订单: 267711341501
'choices'

待评价订单 7----待追评 5----服务评价 3----已评价 0

list index out of range

## 开始执行... 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 秒

Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)'))

image
能抓取到订单信息,以及获取评价信息,但是不能提交,估计使jd接口改了?

HTTPSConnectionPool(host='club.jd.com', port=443): Max retries exceeded with url: /myJdcomments/saveProductComment.action (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))

HTTPSConnectionPool(host='club.jd.com', port=443): Max retries exceeded with url: /myJdcomments/myJdcomment.action (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))
Traceback (most recent call last):
  File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 696, in <module>
    main(opts)
  File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 547, in main
    N = No(opts)
  File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 529, in No
    s = '----'.join(['{} {}'.format(i, N[i]) for i in N])
TypeError: 'NoneType' object is not iterable

只能评价追评

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

1.开始评价晒单
当前共有215个评价。
第1个订单未查找到商品,跳过。
第2个订单未查找到商品,跳过。

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

京东大药房订单评价失败

普通店铺可以评价成功,有些自营店铺可以评价,有些自营店铺评价不成功,很奇怪,运行显示都是正常的,试了很多次都不可以

9月5日 不知道为啥不能评论了

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

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

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

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

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

开始第1个订单: 2759384
追评内容:我很喜欢这些商品!正好想着要不要多买一份增值服务,没想到还有这样的赠品。赠品挺好的。赠品还行。

开始第2个订单: 2759384
已搜集0条好评信息
当前商品没有评价,使用默认评价
追评内容:经过了这次愉快的购物,我决定如果下次我还要买宝贝的话,我一定会再来这家店买的。这家的宝贝的真是太好用了,用了第一次就还想再用一次。之前在这家店也买过其他东西,感觉不错,这次又来啦。买这个宝贝之前我是有看过好几家店,最后看到这家店的评价不错就决定在这家店买

开始第3个订单: 2759384
已搜集0条好评信息
当前商品没有评价,使用默认评价
追评内容:之前在这家店也买过其他东西,感觉不错,这次又来啦。考虑买这个面膜之前我是有担心过的,因为我不知道面膜的质量和品质怎么样,但是看了评论后我就放心了。大大的好评!以后买面膜再来你们店!( ̄▽ ̄)拆开包装后惊艳到我了,这就是我想要的面膜!

开始第4个订单: 27592401
已搜集0条好评信息
当前商品没有评价,使用默认评价
追评内容:考虑买这个湿巾之前我是有担心过的,因为我不知道湿巾的质量和品质怎么样,但是看了评论后我就放心了。买这个湿巾之前我是有看过好几家店,最后看到这家店的评价不错就决定在这家店买 看来看去最后还是选择了这家。真是一次愉快的购物!

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

3.开始服务评价
当前共有1个需要服务评价。

开始第1个订单: 2794762
提交成功!

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

该账号运行完成!

pushdeer无法正常推送

问题:pushplus可以正常推送。pushdeer无法推送消息。
情况:青龙面板的系统设置中设置pushdeer key,可以正常发送测试消息。但是配置文件中设置key,无法推送脚本运行消息。而pushplus一切正常。
日志:以京东资产统计为例,日志提示:
push+发送一对一通知消息完成。
❌ 京东资产统计, 失败! 原因: ReferenceError: time is not defined!

多账户添加

大佬,请问添加多账户是添加多个PC_COOKIE吗?

应该是评价时获取图片报错,以及另外一个获取我的评价页面报错

HTTPSConnectionPool(host='club.jd.com', port=443): Max retries exceeded with url: /discussion/getProductPageImageCommentList.action?productId=100047365108 (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

HTTPSConnectionPool(host='club.jd.com', port=443): Max retries exceeded with url: /myJdcomments/myJdcomment.action (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))
Traceback (most recent call last):
File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 736, in
main(opts)
File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 572, in main
N = No(opts)
File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 554, in No
s = '----'.join(['{} {}'.format(i, N[i]) for i in N])
TypeError: 'NoneType' object is not iterable

评价直接跳过是为啥

当前共有68个评价。
第1个订单未查找到商品,跳过。
第2个订单未查找到商品,跳过。

追评报错:list index out of range

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

2.开始追评!
当前共有35个需要追评。
list index out of range <---------------------错误位置

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

cannot access local variable 'imgurl2' where it is not associated with a value

评价信息:5星 !如果价格再优惠一些,活动力度更大更好。做工细节:做工精细,细节处理的也很好。搭配体验:穿着起来方便。着它骑电动车一点都不动手,物超所值。为了骑自行车买的,戴上后就不冻手了,而且还可以直接滑动手机,不用把手套摘下来,很方便。
cannot access local variable 'imgurl2' where it is not associated with a value

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

上周还好用,昨天出错了,估计JD端接口调整了吧

Failed to establish a new connection

错误:
HTTPSConnectionPool(host='club.jd.com', port=443): Max retries exceeded with url: /discussion/getProductPageImageCommentList.action?productId=100037449305 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5b2df429b0>: Failed to establish a new connection: [Errno -3] Try again'))

最近一直报这个错,评价2-3单子开始就不行。有啥解决办法吗?

报错了

HTTPSConnectionPool(host='club.jd.com', port=443): Max retries exceeded with url: /myJdcomments/myJdcomment.action (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fdade69daf0>: Failed to establish a new connection: [Errno -3] Try again'))
Traceback (most recent call last):
File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 696, in
main(opts)
File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 538, in main
N = No(opts)
File "/ql/data/scripts/6dylan6_auto_comment/jd_comment.py", line 529, in No
s = '----'.join(['{} {}'.format(i, N[i]) for i in N])
TypeError: 'NoneType' object is not iterable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.