Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 2.38 KB

README.md

File metadata and controls

57 lines (45 loc) · 2.38 KB

Shein Scraper API

Oxylabs promo code

Oxylabs’ Shein Scraper (a part of Web Scraper API) is a data gathering solution allowing you to extract real-time information from an Shein website effortlessly. This brief guide explains how an Shein Scraper works and provides code examples to understand better how you can use it hassle-free.

How it works

You can get Shein results by providing your own URLs to our service. We can return the HTML for any Shein page you like.

Python code example

The example below illustrates how you can get HTML of Shein page.

import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'universal',
    'url': 'https://m.shein.com/eur/kids?lang=en&ref=m&rep=dir&ret=meur'
}

# Get response.
response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=('user', 'pass1'),
    json=payload,
)

# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())

Find code examples for other programming languages here

Output Example

{
  "results": [
    {
      "content": " \n\n  <!DOCTYPE html>\n<html\n  lang=\"en\"\n  mir=\"ltr\"\n  brd=\"sh\"\n>\n\n<head>\n    <meta name=\"theme-color\" ... </html>",
      "created_at": "2023-12-18 10:36:00",
      "updated_at": "2023-12-18 10:36:02",
      "page": 1,
      "url": "https://m.shein.com/eur/kids?lang=en&ref=m&rep=dir&ret=meur",
      "job_id": "7142462499311336449",
      "status_code": 200
    }
  ]
}

With our Shein Scraper, you can seamlessly gather public data from any Shein web page. Retrieve the essential product details like fabric type, size availability, or customer ratings, to study the fashion industry trends and outperform your competitors. If you need any assistance, feel free to reach out to our dedicated support team via live chat or reach us at our email [email protected].