Table of Contents
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
- ...
To get a local copy up and running follow these simple example steps.
Make sure that you had installed Node.js
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/hoangkimminh/shopee-crawler
- Install NPM packages
npm install
- Modify
shops_username
insideget_shops_details.js
with your own shop's names
const shops_username = [
"minastore_vn",
"friday.official",
"germe.vn",
"sliky",
"yinxx.vn",
];
- Run scripts to get shop details
node get_shops_details.js
- 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
Distributed under the MIT License. See LICENSE
for more information.