oxylabs / ebay-scraper

eBay Scraper for extracting product titles, descriptions, prices, specifications, customer reviews, and ratings from eBay

Home Page:https://oxylabs.io/products/scraper-api/ecommerce/ebay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ebay Scraper

Oxylabs promo code

eBay Scraper is a sophisticated solution designed to gather data from eBay website in real time and without a hassle. This quick guide will detail the process of scraping eBay using Oxylabs' Scraper API.

How it works

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

Python code example

The example below illustrates how you can get an eBay product page result in HTML format.

import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'universal_ecommerce',
    'url': 'https://www.ebay.com/itm/293608130360',
    'geo_location': 'United States',
}

# 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":"<!doctype html>\n<html lang=\"en\">\n<head>
            ...
            </script></body>\n</html>\n",
            "created_at": "2022-11-17 14:53:52",
            "updated_at": "2022-11-17 14:53:54",
            "page": 1,
            "url": "https://www.ebay.com/itm/293608130360",
            "job_id": "6999021798385787905",
            "status_code": 200
        }
    ]
}

With Oxylabs’ eBay Scraper, publicly available data extraction will feel effortless. From product information to customer reviews – you’ll have all the data you need. If you have further queries, you can contact us via live chat or email, and we’ll sort out your concerns in no time.

Also, check this tutorial on pypi

About

eBay Scraper for extracting product titles, descriptions, prices, specifications, customer reviews, and ratings from eBay

https://oxylabs.io/products/scraper-api/ecommerce/ebay


Languages

Language:Java 29.8%Language:C# 24.5%Language:PHP 12.0%Language:Go 11.8%Language:JavaScript 9.5%Language:Python 8.5%Language:Shell 3.9%