Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Scraping Sportsbook Websites
#7
I manually populate the csv file. With links to each game. Will be a bit of a hassle to setup each day, but the different sportsbooks have different naming conventions for each team. Would be difficult to match up in code. I did find the solution using the regex split:
    #Finding Halftime lines
    SplitFox = "First-Half Result"
    TestFox = re.split(SplitFox, Fox_Content)
    FoxHTFinal = BeautifulSoup(TestFox[2], 'html.parser')
    FoxHT_Unparsed = FoxHTFinal.find(class_='button__bet__odds')
However, I'm running into the issue now that the HTML doesn't appear for particular lines unless the DIV is activated by clicking on it. Trying to figure that part out now.

Fanduel seems to be my biggest issue which is the link that I posted.
Reply


Messages In This Thread
Web Scraping Sportsbook Websites - by Khuber79 - Mar-23-2020, 03:33 PM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-23-2020, 04:48 PM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-25-2020, 05:28 AM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-25-2020, 06:39 AM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-25-2020, 08:20 AM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-25-2020, 07:10 PM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-25-2020, 07:25 PM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-25-2020, 07:27 PM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-25-2020, 08:51 PM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-26-2020, 03:44 AM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-27-2020, 07:30 PM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-27-2020, 12:24 AM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-27-2020, 05:16 AM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-27-2020, 09:18 AM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-27-2020, 05:09 PM
RE: Web Scraping Sportsbook Websites - by Larz60+ - Mar-27-2020, 09:21 PM
RE: Web Scraping Sportsbook Websites - by Khuber79 - Mar-30-2020, 11:21 PM
RE: Web Scraping Sportsbook Websites - by Whitesox1 - Mar-17-2021, 12:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Webscrapping sport betting websites KoinKoin 3 5,669 Nov-08-2023, 03:00 PM
Last Post: LoriBrown
Thumbs Up Issue facing while scraping the data from different websites in single script. Balamani 1 2,190 Oct-20-2020, 09:56 AM
Last Post: Larz60+
  Can urlopen be blocked by websites? peterjv26 2 3,494 Jul-26-2020, 06:45 PM
Last Post: peterjv26
  Python program to write into websites for you pythonDEV333 3 2,605 Jun-08-2020, 12:06 PM
Last Post: pythonDEV333
  Scraping Websites to post on Telegram kobryan 1 2,735 Oct-19-2019, 07:03 AM
Last Post: metulburr
  Scraping Websites to post on Telegram kobryan 0 3,472 Oct-09-2019, 04:11 PM
Last Post: kobryan
  Scrapping .aspx websites boxingowl88 3 8,363 Oct-10-2018, 05:35 PM
Last Post: stranac
  Scrapper for websites stinger 0 2,429 Jul-20-2018, 02:11 AM
Last Post: stinger
  scraping javascript websites with selenium DoctorEvil 1 3,437 Jun-08-2018, 06:40 PM
Last Post: DoctorEvil
  Email extraction from websites stefanoste78 14 12,450 Aug-18-2017, 09:44 PM
Last Post: stefanoste78

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020