[Tutor] Get information from a web page

David Holland davholla2002 at yahoo.co.uk
Mon Aug 8 10:46:05 CEST 2005


Hi All,
I am trying to save to disk a webpage (so I can extract useful info) with a url
of type "http://xxx.co.uk/index.php?node=2371&pagetree=&fromid=20397".
However the following :-
urllib.urlopen, urllib._urlopener, urllib2.Request, urllib2.urlopen,urllib2.urlretrieve
just retrieve this webpage :- 
http://xxx.co.uk (the root page) not the page I wanted to retrieve, any ideas about to get the right page ?
Thanks inadvance
 
David

		
---------------------------------
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050808/d55ebbde/attachment.htm


More information about the Tutor mailing list