rpjd99
Colt
For those not sure about scraping, the attached workbook uses two VBA macros to assist in starting. I used these at the beginning to find out what exactly I needed from a web page and then, having identified what I wanted, to test my scraper with the page to ensure that I had everything correctly worked out.
It uses the standard(?), simple method of scraping, with no bells and whistles such as Regular Expressions, and you'll then need to parse what you scrape.
1. The first ("Import_All_Elements") takes in all elements of a web document, so you can identify the exact elements you need and the conditions for taking them in.
2. Having identified what you want and their conditions for import, the second macro ("Import_Selected_Elements") gives an example of how to apply the conditions and exclusions required. Bear in mind that it is only an example.
Depending on how much the web page contains, it may take some time for the first macro to run. You'll also have to write into the macro, where indicated, the URL of the page you want to scrape.
Good luck!
Ray
It uses the standard(?), simple method of scraping, with no bells and whistles such as Regular Expressions, and you'll then need to parse what you scrape.
1. The first ("Import_All_Elements") takes in all elements of a web document, so you can identify the exact elements you need and the conditions for taking them in.
2. Having identified what you want and their conditions for import, the second macro ("Import_Selected_Elements") gives an example of how to apply the conditions and exclusions required. Bear in mind that it is only an example.
Depending on how much the web page contains, it may take some time for the first macro to run. You'll also have to write into the macro, where indicated, the URL of the page you want to scrape.
Good luck!
Ray