AUTO SWIPE FOR BUMBLE
Hi guys, in this article I want to show an easy step by step to build a bot to swipe automatically in Bumble, be aware that your account can be banned. Also, the main idea behind this is educational and for fun. This is my code and as it is, is working today (06/24/2021).
Requirements
- Install Python (Link to download Python).
- Install PyCharm community edition (Link to download PyCharm)
- Download Selenium (Link to download Selenium)
You can use other IDE, but if you are not used to code, just follow me.
Process
After installing the IDE (PyCharm), we will do these 5 steps:
Step 1
Set Up a bumble account and log in with Facebook.
Step 2
We will copy this code in PyCharm as it is:
Code
from selenium import webdriver
import time
from selenium.webdriver.common.keys import Keys
from selenium.common.exceptions import NoSuchElementException
#DATA FROM YOUR ACCOUNT
ACCOUNT_EMAIL = "YOUR_EMAIL@MAIL.COM"
ACCOUNT_PASSWORD = "YOUR_PASSWORD"
#SELENIUM CONFIGURATION
chrome_driver_path = 'C:\Selenium\chromedriver.exe'
driver = webdriver.Chrome(executable_path=chrome_driver_path)
driver.get("https://bumble.com/app")
time.sleep(5)
#LOGIN USING FACEBOOK
login_face = driver.find_element_by_xpath('//*[@id="main"]/div/div[1]/div[2]/main/div/div[3]/form/div[1]/div/div[2]/div')
login_face.click()
time.sleep(2)
base_window = driver.window_handles[0]
fb_login_window = driver.window_handles[1]
driver.switch_to.window(fb_login_window)
#FACEBOOK FORM
email = driver.find_element_by_xpath('//*[@id="email"]')
password = driver.find_element_by_xpath('//*[@id="pass"]')
time.sleep(1)
email.send_keys(ACCOUNT_EMAIL)
time.sleep(1)
password.send_keys(ACCOUNT_PASSWORD)
time.sleep(1)
password.send_keys(Keys.ENTER)
driver.switch_to.window(base_window)
time.sleep(10)
#CLICK LIKE BUTTON - Match the firts 100 profiles, change as you wish =)
for x in range(100):
time.sleep(1)
try:
like_button = driver.find_element_by_xpath('//*[@id="main"]/div/div[1]/main/div[2]/div/div/span/div[2]/div/div[2]/div/div[3]')
like_button.click()
except NoSuchElementException:
continue
Step 3
Install Selenium:
Copy the path, where you will keep the .exe of selenium. In my case the path is:
C:\Selenium\chromedriver.exe
Copy your path to this line of code:
chrome_driver_path = 'C:\Selenium\chromedriver.exe'
Install Selenium in PyCharm which is as simple as bringing the cursor next to the red line, click the bulb and install package selenium, after that the errors will go.
Step 4
Update with your details, change this part of the code with your info:
ACCOUNT_EMAIL = "YOUR_EMAIL@MAIL.COM"
ACCOUNT_PASSWORD = "YOUR_PASSWORD"
Step 5
Finally, set up how many profiles you want to swipe. You can change this number in this line of code:
for x in range(100):
Finally, if you find the love of your life thanks to this code, let me know. It will make me super happy. Cheers for that !!!