Get all URLs from a webpage

This example shows how to automate Microsoft Internet Explorer with Python/Pywin32.

opens a Internet Explorer window, surfs to (and waits 3
sec to load the page), and prints all links of the loaded page.

Some links to the Object Model of Microsoft Internet Explorer:

Microsoft ActiveX control

DHTML Objects 

IHTMLDocument2 Interface

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.