Skip to content

husam287/shein-webscrapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shein scrapping

Table of Contents

About

Shein website scrapping is a mini server which helps in getting a product name and its price [IN SAR CURRENCEY ONLY] from a link shared by shein's mobile application.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

  1. First, you must download the repo in your local machine.

  2. Make sure you have the latest version of Node.js in your machine.

  3. Open terminal in the root folder and type:

        npm install
  4. Let's start the server

        npm start

Usage

APIS

GET PRODUCT NAME & PRICE

  • Link: http://localhost:8080/api/shein/get

  • Method: POST

  • Request body:

    {
        "url":"https://api-shein.shein.com/h5/sharejump/appsharejump?lan=en&share_type=goods&site=andshother&localcountry=other&currency=EGP&id=4655532&url_from=GM7181084488857100288"
    }
  • Response:

    {
        "productName": "Cartoon Print Drop Shoulder Sweatshirt",
        "price": "45.00"
    }

How to get the url

Shein Application Product Link

Notes

  • How ever the currency and the language of shein application which used to get the url, the responsed price will be always in SAR currencey

  • You can use Postman to call the api

About

RESTFUL API scrapes the "SHEIN" website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published