Re: [Tutor] Get information from a web page

2005-08-08 Thread python-tutor
Not sure exactly what you have going wrong without the code or the exact url you are using. Does something like: import urllib page = urllib.urlopen("http://slashdot.org/article.pl?sid=05/08/08/043236&tid=126";).read() print page give you the correct results? Is the problem specific to o

[Tutor] Get information from a web page

2005-08-08 Thread David Holland
Hi All, I am trying to save to disk a webpage (so I can extract useful info) with a urlof type "http://xxx.co.uk/index.php?node=2371&pagetree=&fromid=20397".However the following :-urllib.urlopen, urllib._urlopener, urllib2.Request, urllib2.urlopen,urllib2.urlretrievejust retrieve this webpage :- h