Can python beautifulsup4 get results that vary depending on the input form operation in the local html file?

Asked 1 years ago, Updated 1 years ago, 103 views

There is an index.html that is automatically generated by a task and accompanying data.

You can launch index.html from your PC's local folder, display it in your browser, enter the search criteria values in the input form section on the screen, and press the search button to narrow down the list on the screen to only those that match the criteria.

I would like to use beautifulsoup to launch the local index.html and scrape the contents of the results screen while automatically manipulating the input form and search buttons. Is this possible with beautifulsoup?

I'm a beginner at python, so I'll check it out if I can.

python3 web-scraping beautifulsoup

2022-09-29 22:34

1 Answers

Workaround [Schedule]
Enter the conditions in Selenium and scrap the results screen.

Cubick's comment is almost the answer I want, so I'll close it now.


2022-09-29 22:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.