Simple scripts for crawling shopee's shop and product information from shopee.vn

Overview
Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

shopee-crawler is a simple project to crawling shopee's shop and product information. Some common information can be crawled:

  • shop:
    • shopid
    • follower_count
    • shop_location
    • name
    • ...
  • product: can crawl all shop's products by recursive function
    • itemid
    • shopid
    • name
    • view_count
    • like_count
    • status
    • categories
    • price
    • description
    • currency
    • attributes such as orgin, material,...
    • ...
  • review: can crawl all product's reviews by recursive function
    • reviewid
    • itemid
    • orderid
    • rating
    • comment
    • images
    • videos
    • ...

Built With

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Make sure that you had installed Node.js

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/hoangkimminh/shopee-crawler
  2. Install NPM packages
    npm install

Usage

  1. Modify shops_username inside get_shops_details.js with your own shop's names
const shops_username = [
  "minastore_vn",
  "friday.official",
  "germe.vn",
  "sliky",
  "yinxx.vn",
];
  1. Run scripts to get shop details
node get_shops_details.js
  1. Start crawling all products and its reviews of each shop with
node index.js

Data of each shop will be saved in output/[shopname].json Make sure output folder created

License

Distributed under the MIT License. See LICENSE for more information.

You might also like...

Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries.

Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries.

Image Zoom (jQuery) Plugin Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries that is less th

Aug 3, 2022

A simple, lightweight, clean and small library for creating guided product tours for your web app.

A simple, lightweight, clean and small library for creating guided product tours for your web app.

Tourguide.js Simple, lightweight library for creating guided tours for your web, apps and more. A tour guide is a person who provides assistance, info

Dec 12, 2022

JS Cloudimage 360 View - A simple, interactive resource that can be used to provide a virtual tour of your product

JS Cloudimage 360 View - A simple, interactive resource that can be used to provide a virtual tour of your product

JS Cloudimage 360 View - A simple, interactive resource that can be used to provide a virtual tour of your product

Jan 7, 2023

A simple, strictly typed ORM, to assist you in using Cloudflare's D1 product

D1-Orm ✨ A simple, strictly typed ORM, to assist you in using Cloudflare's D1 product API reference can be found at https://d1-orm.pages.dev/modules D

Dec 25, 2022

Fusion of Twitter and Discord and getting a single product as a outcome.

TWTCORD Connect your cords through TWTCORD What is TWTCORD? TWTCORD is derived from the combination of twitter and discord. It is basically the fusion

May 11, 2022

An E-commerce product page, responsive and dynamic

An E-commerce product page, responsive and dynamic

This is a solution to the E-commerce product page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Jul 3, 2022

A simple site to generate useful resources for Gitpodification, including "open in gitpod" buttons and sample configuration scripts

Gitpodify A simple portal to generate "open in Gitpod" links Contributing There is a list of suggested repositories in app/routes/index.tsx. Feel free

Nov 7, 2022

Pay Creators to Promote your Product in $CRYPTO

Next.js + Tailwind CSS Example This example shows how to use Tailwind CSS (v3.0) with Next.js. It follows the steps outlined in the official Tailwind

Feb 7, 2022

Frontend Mentor - E-commerce product page solution

Frontend Mentor - E-commerce product page solution

Frontend Mentor - E-commerce product page solution This is a solution to the E-commerce product page challenge on Frontend Mentor. Frontend Mentor cha

Nov 2, 2022
Comments
  • crawling Error

    crawling Error

    First thanks for sharing nice code!!

    I got some error when I use this url

    url: https://shopee.vn/api/v2/search_items/?by=pop&entry_point=ShopByPDP&limit=30&match_id=$151129904&newest=$0&order=desc&page_type=shop&pdp_l3cat=10919&version=2

    error: {"error_msg":"This API is deprecated.","error":10005}

    Do you know how to solve it??

    opened by SY-JI 0
Owner
Hoàng Kim Minh
Hoàng Kim Minh
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Candy Shop is a JavaScript library that allows DAOs, NFT projects and anyone to create an NFT marketplace on Solana in minutes!

Candy Shop (IN BETA) Intro Candy Shop is a JavaScript library that allows DAOs, NFT projects and anyone to create an NFT marketplace on Solana in minu

LIQNFT 111 Dec 15, 2022
radiQL, your one-stop-shop for migrating from a legacy REST backend to an efficient and modern GraphQL API

Welcome to radiQL, the one-stop solution for setting up GraphQL on a PostgreSQL database. Check out our Medium article here. At A Glance: Give us your

OSLabs Beta 90 Nov 14, 2022
Online Vape-Shop

Онлайн-Магазин Электронных Сигарет О проекте Этот проект был разработан в связи с защитой дипломного проекта. Март 2022 года, БНТУ. Особенности проект

Maxis 2 Apr 5, 2022
Custom shop plugins available in BDSX.

Custom shop Plugin Custom shop plugins available in BDSX. BDSX 커스텀 상점 플러그인 사용법 엔티티한테 태그를 추가하여 상점을 제작할 수 있습니다. 상점은 엔티티를 공격하여 열 수 있습니다. 태그: shop[아이템1_ID

연두 7 Sep 27, 2022
📦 The web app shop.

?? Paquet Welcome to your new web app shop! ?? Submit a new app ?? here ⚠ Keep in mind that Paquet is not yet stable and lots of things might change A

Angel Mario 24 Dec 18, 2022
The best shop by Laravel framework.

Introduction The shopline is an open-sourcem free and advance eCommerce with Laravel framework. Shopline can help you to make your shop easy fast & fr

Milwad 35 Dec 27, 2022
The Main Purpose The main purpose of creating an anaonline information system, as an effort responsive to the management of the data of the Members of the Persis Youth based on information technology systems

landing-page-pp landing-page-pp.vercel.app #The Main Purpose The main purpose of creating an anaonline information system, as an effort responsive to

Hilman Firdaus 6 Oct 21, 2022