This project aims to automate tasks on the Badoo platform using Python, enhancing the user experience through automation.
Follow the steps below to set up the project locally.
First, install Python 3.11.8 using pyenv:
pyenv install 3.11.8 # Installs Python 3.11.8Create a virtual environment named badoo_bot:
pyenv virtualenv 3.11.8 badoo_bot # Creates a virtual environment "badoo_bot"pyenv local badoo_bot # Initialize .python-versionpyenv activate badoo_bot # Activate virtual environmentInstall all required dependencies from requirements.txt:
pip install -r requirements.txt # Installs dependenciespip install -r requirements-dev.txt # Installs dev dependenciespython -m playwright install # Installs playwright browsers (Only supported on Ubuntu)Or install chromium manually
Log in to Badoo normally using your personal Chromium browser first. Then copy the cookies file into the project’s isolated Chromium profile to reuse your session:
rsync -av --progress ~/.config/chromium/Default/Cookies .config/chromium/Default/make run