Git Product home page Git Product logo

auto_comment's Introduction

JD自动评价

支持评价晒单(带两张图),追评,服务评价,支持AI生成评价内容

浏览器登录抓取CK(PC端CK)www的那个地址抓CK,登录后F12点到network,不要用命令document.cookie抓,会不完整,找带cookie的请求复制(其实只复制thor=xxx这串就行)

青龙运行

  • 安装以下依赖
lxml
jieba
zhon
requests
requests
urllib3
websocket-client
  • 青龙拉库命令
 ql repo https://github.com/x-dr/auto_comment.git "jd_" "" "jdspider|func_spark.py"
  • 浏览器登录抓取CK(PC端CK),添加变量PC_COOKIE (多账号用&隔开)

  • 为讯飞模型ai评价参数 请根据需求更改

讯飞模型参数获取地址 https://console.xfyun.cn/services/bm3

key Value 说明
SPARK_CONFIG_ON false 是否开启AI评价默认false
SPARK_APPID fdxx9a APPID
SPARK_KEY 705xxxxxeef1a APIKey
SPARK_SECRET NDRkZTdxxxxxRkNmE0N2Fm APISecret
SPARK_CONFIG_ON="true"
SPARK_APPID="fdxx9a"
SPARK_KEY="705xxxxxeef1a"
SPARK_SECRET="NDRkZTdxxxxxRkNmE0N2Fm"
  • 运行
pip install -r requirements.txt

python jd_comment.py

感谢

本脚本修改自 6dylan6/auto_comment

auto_comment's People

Contributors

x-dr avatar

Watchers

 avatar

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.