Git Product home page Git Product logo

marketplace_parser's Introduction

About

The project helps to parse the largest Kazakhstani marketplace: products and reviews using site API.

Parsed data can be downloaded here:

https://github.com/zhanymkanov/russian_reviews_dataset

  • Partially cleaned (both raw and cleaned versions are available though)
  • ~150k rows

How it works

Parser steps

  1. Crawl products JSON lists
  2. Crawl reviews based on products list
  3. Crawl laptops, PCs, smartphones specs based on products list

Comment on API access

Although API is not private, it is nor public.

I had to do some stuff with my outgoing traffic to find out its endpoints.

Therefore, I think it is not tethical to put it online, but to say that is easy to get them

Installation

Prerequisites

  1. Python 3.6+
  2. pip

Dependencies

  1. scrapy
  2. pydantic
  3. python-decouple
  4. orjson
  5. psycopg2-binary
  6. anosql

Installation steps

  1. Download the project
git clone https://github.com/zhanymkanov/reviews_parser
  1. Install the packages
pip install -r requirements/base.txt

Parser usage

To run the app you need to know API endpoints, which is currently not available to be shared, but discovered by yourselves. If you have them, modify the main.py so that you parse only required categories. For the first time, I recommend you to run the main.py 3 times:

  1. First, run for products
  2. Second and third times for either reviews or product specifications

marketplace_parser's People

Contributors

zhanymkanov avatar darienll 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.