AlgeRiany01's avatar

Unable to scrape product price from Shein ShareJump links in Laravel/Python

Hi everyone,

I’m working on a project in Laravel/Python where I want to fetch product information from Shein, but I’ve run into a major problem with ShareJump links.

Here’s an example link I’m working with:

http://api-shein.shein.com/h5/sharejump/appjump?link=l5RjILzGnr1_8&localcountry=AE

What I tried:

I accept a ShareJump URL from the user.

I want to retrieve product details such as:

Title

Image

Price

Original price

Discount

Currency

Stock availability

I’ve tried multiple approaches:

Sending direct HTTP requests using requests in Python or GuzzleHttp in Laravel.

Parsing JSON or HTML for window.INITIAL_STATE data.

Using scraping services like Scraping-bot with proxies.

Using Playwright / Selenium to simulate a browser.

The main problem:

The ShareJump link is a redirect

When I request the URL directly, I do not get the actual product page.

Instead, I get a JSON response with very limited info:

{
  "data": {
    "title": "Eyeliner Wing Stamp Template...",
    "description": "Eyeliner stamp template, eyeshadow tool...",
    "image": "https://img.ltwebstatic.com/images3_spmp/2024/10/02/fa/1727858653bfc849a2fa066d42b336fc49f5b3f8d5.jpg",
    "price": null,
    "originalPrice": null,
    "currency": null,
    "isInStock": null
  }
}

As you can see, price, originalPrice, currency, and stock information are all null.

CAPTCHA / Anti-bot measures

When trying to access the actual product page, Shein shows CAPTCHA or challenge pages, blocking automated requests.

Playwright / Selenium workaround is not viable

I want this to run automatically on a server (Linux / cPanel) without a browser, so headless solutions like Playwright are not ideal.

What I need:

A reliable way to extract the product price, original price, and discount directly from a ShareJump link.

Ideally, this should work in Laravel/PHP or Python without requiring user interaction or solving CAPTCHAs manually.

Has anyone successfully scraped Shein ShareJump links in an automated way? Is there a method to resolve the redirect and fetch real product data without using a full browser automation?

Any guidance or examples would be highly appreciated.

0 likes
2 replies
Snapey's avatar

Maybe the link is specific to the current user session. You are not that user session so you don;t get the link resolved.

Could be a deliberate scheme to prevent scraping.

Better to enquire about APIs

Please or to participate in this conversation.