Cdiscount
Learn how to scrape various types of Cdiscount pages using Web Scraper API, including supported sources, parameters, and example requests.
Source
Description
Dedicated parser
Getting started
Request samples
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "cdiscount_search",
"query": "tv"
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'cdiscount_search',
'query': 'tv'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload,
)
# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())Last updated
Was this helpful?

