Python Forum
Automated Bet placement - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Automated Bet placement (/thread-22926.html)



Automated Bet placement - redmercury - Dec-03-2019

Hi, I am a Python novice but I would like to create a script that would automate logging in to the bookmakers & placing a bet on a horse race. Because the schedule changes every day, I'm thinking for the purpose of my script it would be simpler to try & place a bet of amount '£ x' on the favourite or just 'horse number 1' on the next available race.
For example, betway.com has a 'Next Off' tab https://sports.betway.com/en/sports/rcg/horse-racing/next_off. Similar for Ladbrokes https://sports.ladbrokes.com/horse-racing/races/next
I'd appreciate if anyone had any thoughts/suggestions on how to automatically bet on, say, horse #1/or the favourite using Betway username'betway123'.


RE: Automated Bet placement - snippsat - Dec-03-2019

Look at Selenium for this.
Web-scraping part-2


RE: Automated Bet placement - redmercury - Dec-04-2019

thanks for the info, I'll have read a read through & see if I can adapt it to my project