AKY King of Life
4 Mar 2022
I am trying to BeautifulSoup to get the table found in this link: //gms.englandhockey.co.uk/fixtures-and-results/competitions.php?comp=4154007
It's an England Hockey website and basically I want to download the table and put it in a DataFrame, and also eventually get the fixtures as well.
Whenever I try and find the right
table, it returns
Here's what I have tried:
url = "//gms.englandhockey.co.uk/fixtures-and-results/club.php?id=Royal%20Holloway%20HC&prev=4153800" page = requests.get(url) soup = BeautifulSoup(page.text, "html.parser")
I have tried to find the
div the table is within, but it returns
bread_crumbs = soup.find("div", class_="container") print(bread_crumbs
Again, I try to find the
table but it returns
bread_crumbs = soup.find("table") print(bread_crumbs)
anyone can suggest a way to access the table, I would be grateful! It might be that Selenium would be better for this, but I haven't used Selenium yet so I am not sure how it would start.
As you can see from the link, it's a php website, so could this be part of the reason?
No Comments to show