GithubHelp home page GithubHelp logo

amazon_review's Introduction

amazon_review

爬取 amazon个人主页指定评论

花了点个把小时, 做了一个到amazon个人主页爬出指定asin的评论

使用方法

  1. 本项目采用 pipenv 作为 python 虚拟环境和依赖管理工具

  2. 执行一下命令运行本项目

pipenv install
pipenv shell
python app_review.py

3.执行post请求

查找个人主页指定asin的评论

http://127.0.0.1:5000/api/user_review

达成产品首页无差评条件

http://127.0.0.1:5000/api/not_bad_review

爬取跟卖店铺信息

http://127.0.0.1:5000/api/asin_follow_offer

review 参数

review string类型的JSON数组

[{'review_order_id': '', 'amazon_buyer_url': '', 'country': '', 'asin': ''}]

review_order_id 用来标识的唯一 id , 随便填写

amazon_buyer_url amazon 上 directedId 需要去掉 amzn1.account.

例子: https://www.amazon.com/gp/profile/amzn1.account.AHP3GBGMQ7HBYZCJWUJG72JFR22A?ie=UTF8&ref_=ya_d_l_profile

amazon_buyer_url 为 AHP3GBGMQ7HBYZCJWUJG72JFR22A

country 国家简码 US CN 等等

asin amazon产品 id

not_bad_review 参数

country 国家简码

asin amazon产品 id

count 获取次数

asin_follow_offer 参数

country 国家简码

asin amazon产品 id

展示

review

not_bad_review

asin_follow_offer

amazon_review's People

Contributors

linghanchujian 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.