I am very new to Python. My recent project is scraping data from a betting website. What I want to scrape is the odds information from the webpage.
Here is my code
from urllib.request import urlopen as uReq
from bs4 import BeautifulSoup as soup
my_url = 'http://bet.hkjc.com/default.aspx?url=football/odds/odds_allodds.aspx&lang=CH&tmatchid=120653'
uClient = uReq(my_url)
page_html = uClient.read()
uClient.close()
page_soup = soup(page_html, "html.parser")
page_soup.findAll("div",{"class":"oddsAll"})
but the result return [] , which is none
What should I do to make my code work?