Help me deploy and schedule a Python Selenium script with headless Chrome and proxy

lacouette
PROOP

5 months ago

I have a Python 3.11 script that:

  • Launches a headless Chrome browser (via Selenium), with an authenticated residential proxy (using selenium-wire or a dynamic Chrome extension)

  • Navigates to ai.invideo.io, clicks “Join with Google,” completes the OAuth login

  • Extracts access/refresh tokens from localStorage and updates a MySQL database

  • Loads all secrets (proxy credentials, Gmail password, DB password) from a .env file

I’ve already tested and confirmed the script works locally and via CLI on Railway.
What I need help with is deploying it properly as a Railway cron task that runs automatically every 6 hours and reliably executes the script each time, in a headless environment that supports Chrome, Selenium, proxy auth, and MySQL.

$25 Bounty

3 Replies

quadstrikesecurity
FREE

5 months ago

use docker for your solution


sim
FREE

5 months ago

A dockerfile as @quadstrikesecurity suggested may be a good solution for this


sim
FREE

5 months ago

This takes effort. If you confirm and this is a go, I will make it


Loading...