$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "url": "example: https://app.apollo.io/#/people....",
< "cookies": [
< {
< "_REQUIRED": "๐ช You need to do these steps to use the scraper",
< "_INSTRUCTIONS": "๐ฅ Download EditThisCookie v3 Extension or any other cookie extractor extension from Chrome Web Store or your browser web store",
< "_INSTRUCTIONS_2": "๐ While on the lead platform browser tab โ Click extension icon โ Click 'Export'",
< "_INSTRUCTIONS_3": "๐ DELETE THIS ENTIRE OBJECT AND PASTE YOUR EXPORTED COOKIES ARRAY HERE",
< "_INSTRUCTIONS_4": "โ ๏ธ Best recommended to keep your lead platform tab open during the scrape"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/amr-mando~lead-finder-rental/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'