6dylan6 / auto_comment

带图评价
420 stars 75 forks source link

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

Open EvilDrag0n opened 1 year ago

EvilDrag0n commented 1 year ago

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
6dylan6 commented 1 year ago

我试试