** Easily raise the rank of Rakuten Happy Program **
What is ** Happy Program **? Is it delicious? For those who say I will paste the reference image.
Simply put, the higher the ** rank **, the more delicious you will feel.
There are various ways to raise this ** rank **. For example ...
I honestly don't have a lot of money * (I want a bonus soon ...) * The salary is received at Mi * ho Bank * (not near Mi * ho's ATM ...) * I don't want to transfer money to other banks as much as possible. * (The fee is too high ...) *
I think there are many people who think the same way. rest assured.
There is a way to raise the rank that is perfect for you.
!!!!!??????
If you continue it for 30 days, it will automatically become ** Super VIP **.
It's the best. But manually open the Rakuten Horse Racing app, type in your email address, It's quite annoying to type in the password and the PIN code.
In such a case, ** automation using python and selenium ** will be effective.
If you are new to python / Selenium, the following article is recommended https://qiita.com/memakura/items/20a02161fa7e18d8a693 https://qiita.com/mastar_3104/items/0a1ce2bfa1d29287bc35
rakuten_automation.py
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
import chromedriver_binary
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument('--headless')
driver = webdriver.Chrome("./chromedriver", options=options)
driver.get("https://keiba.rakuten.co.jp/?l-id=top_logo")
time.sleep(5)
if len(driver.find_elements_by_xpath("/html/body/section/div[2]/div")):
pop = driver.find_element_by_xpath("/html/body/section/div[2]/div")
pop.click()
send_money = driver.find_element_by_class_name("siteheader_actionlist_btn")
send_money.click()
driver.switch_to.window(driver.window_handles[1])
driver.maximize_window()
userid = driver.find_element_by_name("u")
userid.send_keys("YourMailAddress")
password = driver.find_element_by_name("p")
password.send_keys("YourPassword")
password.send_keys(Keys.RETURN)
insert = driver.find_element_by_class_name("modal")
insert.click()
time.sleep(3)
insert_money = driver.find_element_by_id("dialogDepositingInputPrice")
insert_money.send_keys("amountOfMoney(ex.100)")
confirm = driver.find_element_by_id("dialogDepositingConfirm")
confirm.send_keys(Keys.RETURN)
time.sleep(5)
pincode = driver.find_element_by_id("dialogDepositingConfirmPin")
pincode.send_keys("YourBankPINCode")
complete_insert = driver.find_element_by_id("dialogDepositingComplete")
complete_insert.send_keys(Keys.RETURN)
time.sleep(3)
driver.quit()
else:
send_money = driver.find_element_by_class_name("siteheader_actionlist_btn")
send_money.click()
driver.switch_to.window(driver.window_handles[1])
driver.maximize_window()
userid = driver.find_element_by_name("u")
userid.send_keys("YourMailAddress")
password = driver.find_element_by_name("p")
password.send_keys("YourPassword")
password.send_keys(Keys.RETURN)
insert = driver.find_element_by_class_name("modal")
insert.click()
time.sleep(3)
insert_money = driver.find_element_by_id("dialogDepositingInputPrice")
insert_money.send_keys("amountOfMoney(ex.100)")
confirm = driver.find_element_by_id("dialogDepositingConfirm")
confirm.send_keys(Keys.RETURN)
time.sleep(5)
pincode = driver.find_element_by_id("dialogDepositingConfirmPin")
pincode.send_keys("YourBankPINCode")
complete_insert = driver.find_element_by_id("dialogDepositingComplete")
complete_insert.send_keys(Keys.RETURN)
time.sleep(3)
driver.quit()
If you move this, automatic deposit will be completed for the time being.
** "Your Mail Address" (your email address) "Your Password" "Your BANK PIN Code" (PIN) "Amount Of Money" **
rewrite.py
userid.send_keys("YourMailAddress")
password.send_keys("YourPassword")
pincode.send_keys("YourBankPINCode")
insert_money.send_keys("amountOfMoney(ex.100)")
Please enter appropriate values directly for the above four values.
I'm entering plain text in my email address, password, and PIN. I want to stop because it is a security problem carpenter ant. .. Please let us know in the comments if there is any good way.
The location of ChromeDriver should be in the same directory as the above python file.
Automation may suddenly stop working, but it's because ** out of ten ChromeDriver versions are out of date **. If it worked until yesterday and you suddenly get an error, first check if the Chrome version and Chrome Driver version match.
I will find the time and add the movement of each code.
Recommended Posts