0

Here's what I want to do:

Hit a url, save all of the html to a .html file save all of the images create a copy of that .html where all of the images are redirected to the local copy.

At this point, I can now open the second file while my computer is disconnected from the internet.

Here's what I'm doing right now just to pull the HTML:

urllib.urlretrieve(pageURL, "fileName.html")

Is there something I can just plug in to get this to work? I haven't managed to find any utilities.

Christian Ternus
  • 8,406
  • 24
  • 39
Daniel Paczuski Bak
  • 3,720
  • 8
  • 32
  • 78

1 Answers1

0

Doesn't need to be Python? Great. Try downloading Wget for Windows and doing

wget -p -k http://the-site-you-want.com/fileName.html

Christian Ternus
  • 8,406
  • 24
  • 39