Git Product home page Git Product logo

jd_evaluated's Introduction

京东订单评价程序

基于 Python 技术上的一篇文章里提到的程序改编而来,仅限于爬虫的学习之用。

功能

  1. 自动查找待评价记录,完成评价(支持一个订单多个商品的情况,不支持图书类商品)
  2. 自动完成追评
  3. 自动完成服务评价

依赖

  • Python3.6+
  • requests pip install requests
  • BeautifulSoup pip install BeautifulSoup4

使用

  1. 登陆京东网站,查看评价页,提取某个 Post 请求的 cookie 值

  2. 进入 src 文件夹,打开 main.py 代码文件,用提取的 cookie 值,替换变量 cookie 的值:

    cookie = '__jdu ... 26.1683600056' # 替换提取的 cookie
  3. 运行 python main.py

如果一切正常,执行完成后会自动结束;

执行目录下会生成一个 index.html 文件,为评价页 html 脚本,可以用于测试。

许可

本项目采用 Mozilla 许可证,大体含义是:

  1. 他人修改后不能闭源
  2. 新增代码可以不采用本许可证
  3. 需要对源码修改处提供文档说明

jd_evaluated's People

Contributors

alisx avatar

Stargazers

 avatar luoyang871111 avatar  avatar

Watchers

 avatar

Forkers

luoyang871111

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.