Reputation: 534
I have a list of let's say... 10000 URLs. The markup is structured identically but the attributes for some of the DOM elements are unique to the URL.
Is there a was to use JavaScript to:
Just looking for a push in the right direction. If something like this exists, I am planning to code a loop to iterate through all 10000 URLs and DoSomething()
with them.
Upvotes: 0
Views: 141
Reputation: 534
Success! I was able to get there using the WebClient
class and the IHTMLDocument2
interface in a C# console application.
IHTMLDocument2 Interface Reference
Upvotes: 0
Reputation: 27809
I recommend using Node.js: look into a Node module like Cheerio, to scrape your URLs and look at their DOM elements. Should be a relatively simple script.
Upvotes: 1