简体   繁体   中英

Screen scraping/Web scraping url doesn't change after search results

I'm working on a web scraping project and I need my "start" page to start the scraping.

When navigating to a URL like this: http://www.blah.com/search.aspx and I enter in my data (because I want to pass the search results page to my screen scraping program). When the search results (page) comes back, the URL did not change.

How can I get the URL from the search results page, or, mimic the "search" to get the search results page in the screen scraping program?

Found this after some more googling (it helps to use the right keywords).

I was already using HtmlAgilityPack, this just provides more insight on how to initiate the post and read the results.

http://refactoringaspnet.blogspot.com/2010/04/using-htmlagilitypack-to-get-and-post.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM