
Boulanger
Deprecated
Pricing
$100.00/month + usage
Go to Store

Boulanger
Deprecated
Extract information from boulanlger : simply provide your search URL (+ your filters and location). You will get the results easy, and fast
0.0 (0)
Pricing
$100.00/month + usage
1
Total users
6
Monthly users
1
Last modified
a year ago
You can access the Boulanger programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
$echo '{< "startUrls": [< {< "url": "https://www.boulanger.com/resultats?tr=samsung"< }< ],< "pageFunction": "async function pageFunction(context) {\\n let data = {}\\n let userData = context.request.userData\\n data.url = context.request.url\\n data.label = userData.label\\n\\n let items = await context.page.evaluate(() => {\\n const item = $('\''.product-item'\'')\\n // const item = $('\''.rm-product'\'')\\n const itemInfo = item.map(function(i,elem) {\\n let obj = {}\\n obj.title = $(this).find('\''h2'\'').text()\\n obj.sponsored = false\\n obj.price = $(this).find('\''.price__amount'\'').text()\\n obj.img = $(this).find('\''img'\'').attr('\''src'\'')\\n obj.rank = i+1\\n return obj\\n }).get()\\n\\n const itemSponsored = $('\''.rm-product'\'')\\n const itemInfoSponsored = itemSponsored.map(function(i,elem) {\\n let obj = {}\\n obj.title = $(this).find('\''h2'\'').text()\\n obj.sponsored = true\\n obj.price = $(this).find('\''.rm_price'\'').text()\\n obj.img = $(this).find('\''img'\'').attr('\''src'\'')\\n obj.rank = i+1\\n return obj\\n }).get()\\n\\n // return [...itemInfo,...itemInfoSponsored]\\n const allitems = itemInfoSponsored.concat(itemInfo)\\n return allitems\\n })\\n \\n let itemsWithDataProp = items.map(obj => { \\n for(const key of Object.keys(data) ){\\n obj[key] = data[key]\\n }\\n return obj\\n })\\n return itemsWithDataProp;\\n}\\n",< "proxyConfiguration": {< "useApifyProxy": true,< "apifyProxyGroups": [< "RESIDENTIAL"< ],< "apifyProxyCountry": "FR"< }<}' |<apify call anchor/boulanger --silent --output-dataset
Boulanger API through CLI
The Apify CLI is the official tool that allows you to use Boulanger locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
$npm i -g apify-cli$apify login
Other API clients include: