Tirsvad b16432feee
TirSystem/git-workflows: Publish accepted milestones / publish (push) Skipped
TirSystem/git-workflows: Publish wiki / publish-wiki (push) Successful in 26s
TirSystem/git-workflows: OpenGrep / opengrep (push) Successful in 3m46s
TirSystem/git-workflows: Sync GitHub mirror metadata / sync-metadata (push) Successful in 15s
TirSystem/git-workflows: Validate / validate (push) Successful in 32s
Merge pull request 'Add TinDog auto-like Selenium bot, tests, e2e harness and wiki' (#2) from feature/tinder-auto-like-bot into main
Reviewed-on: #2
2026-11-03 03:48:41 +01:00
2026-11-03 02:08:30 +01:00

050 - Tinder auto find match

Day 50 of 100 Days of Code: The Complete Python Pro Bootcamp. A Selenium bot that logs in to TinDog (the course's Tinder clone, https://app.100daysofpython.dev/), dismisses the pop-ups and likes profiles. It is a modernised version of the earlier solution.

Wiki (what each step teaches): English · Dansk · Bahasa Malaysia

Be honest with the people you date: tell them you automate your swiping. TinDog allows 20 likes a day, Tinder 100 on the free tier.

Run

python -m venv .venv && .venv/Scripts/activate   # Windows; use bin/activate on Linux
pip install -e ".[dev]"
cp .env.example .env                             # then fill in your own values
python -m tinder_bot
python -m pytest                                 # unit tests

Credentials come from environment variables (FACEBOOK_EMAIL, FACEBOOK_PASSWORD); .env is git-ignored. Sign in manually once so the Chrome profile in .data/ remembers the session and phone verification.

Layout

Path Purpose
src/tinder_bot/steps.py one function per lecture step
src/tinder_bot/locators.py every XPath in one place
src/tinder_bot/config.py settings from the environment
tests/unit/ tests with a fake driver
tests/e2e/ mock TinDog site and Docker runner that produces the screenshots

Steps and screenshots

Screenshots are produced by tests/e2e against a local mock of TinDog, run in Docker (never on the host desktop), into docs/screenshots/.

Step What the bot does Screenshot
1 Open the site
2 Click LOG IN, then LOG IN WITH FACEBOOK
3 Facebook pop-up window
4a Allow location
4b Not interested in notifications
4c I accept cookies
5a Liking profiles (waits while loading)
5b Match pop-up, BACK TO TINDER
5c Daily limit reached

Status: the screenshot files are generated by the Docker run; see tests/e2e/README.md.

S
Description
No description provided
Readme AGPL-3.0
63 KiB
Languages
Python 66.7%
HTML 13.1%
JavaScript 9.4%
CSS 8.5%
Dockerfile 2.3%