$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "Paris"
< ],
< "urls": [
< "https://www.leboncoin.fr/recherche?category=2&locations=Paris",
< "https://www.leboncoin.fr/recherche?category=2&locations=Paris&page=2",
< "https://www.leboncoin.fr/recherche?text=velo",
< "https://www.leboncoin.fr/recherche?text=iphone&sort=time&order=desc",
< "https://www.leboncoin.fr/recherche?category=9&locations=Lyon_69003&price=100000-300000&owner_type=private",
< "https://www.leboncoin.fr/recherche?category=2",
< "https://leboncoin.fr/recherche?text=velo",
< "https://www.leboncoin.fr/c/voitures",
< "https://www.leboncoin.fr/ad/voitures/3265894435",
< "https://www.leboncoin.fr/ad/voitures/3265894435?foo=bar",
< "https://www.leboncoin.fr/boutique/105204",
< "https://www.leboncoin.fr/profile/3c584dc1-749e-4d51-a776-fddfc7093929"
< ],
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "AT"
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "expireAfterMissedScans": 1,
< "changeScope": "all",
< "compactUpdates": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~leboncoin-fr-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'