What should I do if I get hit by an error when I go directly to a particular page with scraping?

Asked 1 years ago, Updated 1 years ago, 77 views

Python is trying to scrape horse columns from the JRA page.

>>url='http://www.jra.go.jp/JRADB/accessD.html'
>>fetched_dataframes=pandas.io.html.read_html(url)
>>fetched_dataframes [0]

As for the command, we are using the above-mentioned scraping, and we were able to scrape the table on other sites, but for the JRA page, we get an error saying, "Parameter error Could not connect to the specified page."

I looked it up on Google, but I couldn't find a similar case, so if anyone knows the cause or countermeasure, could you please let me know?

I look forward to hearing from you.

python web-scraping

2022-09-30 16:04

1 Answers

Using selenium (webdriver), click the "Candidate" link from the top page (http://www.jra.go.jp/) and go to the appropriate page for scraping.


2022-09-30 16:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.