N8N + Python + Selenium + AdsPower Automation: Facebook session + Captcha + 2Fa → export cookies → import to Dolphin Anty API

Job ID: 40143676

Budget: $8 – $15 USD

need an experienced Python automation developer to help finalize and harden an existing script that:

Starts an AdsPower browser profile via local API

Attaches Selenium to the running profile (debug port)

Ensures Facebook session is logged in (AUTO checkpoint (2FA)/CAPTCHA allowed)

Extracts Facebook cookies (must include c_user, xs, fr, datr, sb)

Extracts an EAAB access token from Ads Manager page source

Finds matching proxy_id from Dolphin Anty Cloud (/proxies) based on AdsPower profile name

Creates the account in Dolphin via API (/accounts) using:

name = AdsPower profile name

user_agent from browser

cookies in the exact format Dolphin accepts

proxy_id, tags, login, password, 2FA secret (stored)

The script is mostly working. The main requirement is captcha pass and 2fa, have third party api to give data to pass.

Ongoing work afterwards to build out better and bigger systems.

Requirements / Skills

Python 3.x

Selenium (Chrome debugging attach)

AdsPower local API integration

HTTP APIs (requests)

Cookie parsing/formatting (JSON + header string fallback)

Dolphin Anty Cloud API experience (bonus)

Robust error handling, retries, logging

Deliverables

Cleaned and commented Python script (single file is fine)

Reliable cookie extraction that Dolphin accepts (validated by successful account creation)

Account name in Dolphin must match AdsPower profile name exactly

Clear setup/run instructions (README text is fine)

Small test checklist + troubleshooting notes

Acceptance Criteria

When run with a valid AdsPower serial number:

Script attaches to AdsPower browser

After login (manual if needed), cookies extracted include c_user

Dolphin API account creation succeeds (200/201)

Dolphin account name matches AdsPower profile name

Proxy matching works and uses the correct proxy_id

What I Will Provide

Working base script

AdsPower serial number(s)

Dolphin API token

Example successful/failed API responses

Screenshot/logs when it fails