Urllib's urlopen and urlretrieve

2013-02-21 Thread qoresucks
I only just started Python and given that I know nothing about network programming or internet programming of any kind really, I thought it would be interesting to try write something that could create an archive of a website for myself. With this I started trying to use the urllib library, howe

Re: Urllib's urlopen and urlretrieve

2013-02-21 Thread qoresucks
Initially I was just trying the html, but later when I attempted more complicated sites that weren't my own I noticed that large bulks of the site were lost in the process. The urllib code essentially looks like what I was trying but it didn't work as I had expected. To be more specific, after