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.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
First, you must download the repo in your local machine.
-
Make sure you have the latest version of Node.js in your machine.
-
Open terminal in the root folder and type:
npm install
-
Let's start the server
npm start
GET PRODUCT NAME & PRICE
-
Method: POST
-
Request body:
{ "url":"https://api-shein.shein.com/h5/sharejump/appsharejump?lan=en&share_type=goods&site=andshother&localcountry=other¤cy=EGP&id=4655532&url_from=GM7181084488857100288" }
-
Response:
{ "productName": "Cartoon Print Drop Shoulder Sweatshirt", "price": "45.00" }
-
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