Oxylabs' King Scraper is a data gathering solution allowing you to extract real-time information from an King website effortlessly. This brief guide showcases how King Scraper works, along with code examples to help you better understand how to use it hassle-free.
You can get King results by providing your own URLs to our service. We can return the HTML for any page you like.
The example below illustrates how you can get HTML of King page.
import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'universal_ecommerce',
'url': 'https://king.ro/vinuri-bag-in-box/'
}
# 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
{
"results": [
{
"content": "\n<!DOCTYPE html>\n<html \n lang=\"ro\" dir=\"ltr\">\n<head>\n <title>Vin Bag in Box pret de l ... </html>",
"created_at": "2024-02-20 12:31:35",
"updated_at": "2024-02-20 12:31:37",
"page": 1,
"url": "https://king.ro/vinuri-bag-in-box/",
"job_id": "7165684410686126082",
"status_code": 200
}
]
}
With our King Scraper, you can seamlessly pull public data from any accessible King website. Gather all necessary product details, including cost, feedback, or definition, to scrutinize the industry and stay ahead in the race. If you run into any troubles, reach out to our support crew through live chat or drop us an email at hello@oxylabs.io.