1

I'm trying to scrape this timetable for a college project but get error saying ValueError : No tables found. I am using pandas to scrape this website

timetable = pd.read_html('https://opentimetable.dcu.ie/')[0]
print(timetable)

The website i am trying to scrape is : https://opentimetable.dcu.ie/

2 Answers 2

1

As the other answer says, this method won't wait for the page to load so you'd need to use something like Selenium.

This answer seems to be doing exactly what you want it to do.

Sign up to request clarification or add additional context in comments.

Comments

1

This page have a load screen, and pd.read_html() read the first html he gets (the load screen html without any tables).

You can try get the tables using a scraping library, like selenium.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.