Coder Social home page Coder Social logo

jd_lzsnmb's Introduction

自动评价

PC版于2022年1月1日11:20:00更新

手机版2022年1月2日10:50:00修复


手机版和PC版的区别是ck,PC版用的是电脑网页端的ck,评价全面,但不支持青龙
手机版支持青龙,但不保证能全部完成评价

手机版是采集我的订单中已完成的,一直采集,直到有20个连续的查看评价(已完成)才会停止

优点:更全面
缺点:少于20个已完成的评价,导致死循环报错(解决,多买点东西) 不会晒单图片下次我买很多东西的时候在写。可先用电脑版来应急

可以试试电脑版的,网页抓个ck。丢进去,运行1-2次,保证全部追评和晒单都完成!!!


2022/1/2 --10:49

手机版 修复了大部分人晒单报错,原因晒单忘记加延时了。。。


2020/1/1 -- 11:20

手机版 增加了追加评价,完善优化,评价更全面!!!

PC版 优化速度,修复小bug(还有可能报错,多运行几次就好。如果还不行,在发Issues)

jd_lzsnmb's People

Contributors

ocyss 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

Watchers

 avatar  avatar  avatar

jd_lzsnmb's Issues

青龙面板报错。难受

Traceback (most recent call last):
File "/ql/data/scripts/raw_jd_Evaluation.py", line 33, in
from sendNotify import send
ModuleNotFoundError: No module named 'sendNotify'

评价太猛

建议还是加一个随机延时,评价太快太猛了,结果到最后全是报错 🙈

电脑端报错 IndexError

list index out of range
  File "F:\Users\i\OneDrive - sunsweets\Desktop\自动评价-电脑端.py", line 139, in ordinary
    oid = Order.xpath('tr[@class="tr-th"]/td/span[3]/a/text()')[0]
  File "F:\Users\i\OneDrive - sunsweets\Desktop\自动评价-电脑端.py", line 307, in main
    N = ordinary(N)
  File "F:\Users\i\OneDrive - sunsweets\Desktop\自动评价-电脑端.py", line 325, in <module>
    main()

console:

开始京东批量评价!


待评价订单 6----待晒单 1----待追评 36----服务评价 12----已评价 0----
1.开始普通评价
当前共有6个评价。

电脑版报错

Traceback (most recent call last):
File "D:\自动评价\自动评价-电脑端.py", line 330, in
main()
File "D:\自动评价\自动评价-电脑端.py", line 325, in main
main()
File "D:\自动评价\自动评价-电脑端.py", line 325, in main
main()
File "D:\自动评价\自动评价-电脑端.py", line 325, in main
main()
[Previous line repeated 16 more times]
File "D:\自动评价\自动评价-电脑端.py", line 309, in main
if N['待晒单'] != 0:
KeyError: '待晒单'
[Finished in 186.6s]

通知好像有问题

tg服务启动
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 358, in connect
conn = self._new_conn()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f6998bf2fa0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot1234567890:xxxxxxx/sendMessage?chat_id=1234567890&text=%E4%BA%AC%E4%B8%9C%E5%85%A8%E8%87%AA%E5%8A%A8%E8%AF%84%E4%BB%B7%0A%0A%E8%B4%A6%E5%8F%B71%5B%E9%85%92%E5%B7%B7joux%5D%0A%7B%27%E8%AF%84%E4%BB%B7%27%3A+0%2C+%27%E6%99%92%E5%8D%95%27%3A+0%2C+%27%E6%9C%8D%E5%8A%A1%E8%AF%84%E4%BB%B7%27%3A+1%7D%0A%0A&disable_web_page_preview=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6998bf2fa0>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "raw_jd_Evaluation.py", line 513, in
start()
File "raw_jd_Evaluation.py", line 509, in start
send('京东全自动评价', msg)
File "/ql/scripts/notify.py", line 259, in send
telegram_bot(title=title, content=content)
File "/ql/scripts/notify.py", line 112, in telegram_bot
response = requests.post(url=url, headers=headers, params=payload, proxies=proxies).json()
File "/usr/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /botbot1234567890:xxxxxxx/sendMessage?chat_id=1234567&text=%E4%BA%AC%E4%B8%9C%E5%85%A8%E8%87%AA%E5%8A%A8%E8%AF%84%E4%BB%B7%0A%0A%E8%B4%A6%E5%8F%B71%5B%E9%85%92%E5%B7%B7joux%5D%0A%7B%27%E8%AF%84%E4%BB%B7%27%3A+0%2C+%27%E6%99%92%E5%8D%95%27%3A+0%2C+%27%E6%9C%8D%E5%8A%A1%E8%AF%84%E4%BB%B7%27%3A+1%7D%0A%0A&disable_web_page_preview=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f6998bf2fa0>: Failed to establish a new connection: [Errno 111] Connection refused'))

变量设置无效

export Ev_Scope='1-20'不管怎么设置,都提示出错
export Ev_Scope='' 这样的话就不会报错,但只跑前三个帐号

拉取失败

下载 main_jd_Evaluation.py 成功... main_jd_Evaluation.py -> 添加失败(Invalid cron expression)
请问这个怎么办,直接加文件倒是可以运行,但是这样更新不太方便

电脑端报错

开始京东批量评价!

Traceback (most recent call last):
File "/Users/sy/jd_AutoComment/1.py", line 332, in
main()
File "/Users/sy/jd_AutoComment/1.py", line 300, in main
N = No()
File "/Users/sy/jd_AutoComment/1.py", line 291, in No
N = all_evaluate()
File "/Users/sy/jd_AutoComment/1.py", line 110, in all_evaluate
req = requests.get(url, headers=headers)
File "/opt/homebrew/lib/python3.9/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/opt/homebrew/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/opt/homebrew/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/homebrew/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/opt/homebrew/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/opt/homebrew/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1326, in _send_request
self.putheader(hdr, value)
File "/opt/homebrew/lib/python3.9/site-packages/urllib3/connection.py", line 224, in putheader
_HTTPConnection.putheader(self, header, *values)
File "/opt/homebrew/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1258, in putheader
values[i] = one_value.encode('latin-1')
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2018' in position 0: ordinal not in range(256)

运行出错啊

  • ## 开始执行... 2021-11-06 19:03:14
  • [ ]
  • Traceback (most recent call last):
  • File "raw_main_jd_Evaluation.py", line 20, in
  • import jieba.analyse
  • ModuleNotFoundError: No module named 'jieba'
  • [ ]
  • ## 执行结束... 2021-11-06 19:03:15 耗时 1 秒

真心猛

速度太快了,后期全报错,大佬有空再修改下吧

运行报错

这个是什么错误了?

** 开始[账号3]-陌生人_3 **
开始评价与服务评价!
Traceback (most recent call last):
File "/ql/scripts/jd_Evaluation.py", line 572, in
start()
File "/ql/scripts/jd_Evaluation.py", line 556, in start
ordinary(headers, f'账号{i}[{user}]')
File "/ql/scripts/jd_Evaluation.py", line 431, in ordinary
for i, da in enumerate(op(headers)):
File "/ql/scripts/jd_Evaluation.py", line 378, in op
data = req.json()
File "/usr/lib/python3.9/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Screenshot_20220103214118

执行报错

开始执行... 2021-11-06 21:13:57

Traceback (most recent call last):
File "jd_Evaluation.py", line 19, in
from sendNotify.py import send
File "/ql/scripts/sendNotify.py", line 1
/*
^
SyntaxError: invalid syntax

执行结束... 2021-11-06 21:13:57 耗时 0 秒

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.