Looking at the slashdot url works fine, I think the problem is because I am trying to download a page with an address of the form url.php?node=5924&pagetree=&fromid=&objectid=25586
And I only download url not url.phpetc.
Is there anyway that that can be done ?
 
David

Message: 8
Date: Mon, 8 Aug 2005 05:11:57 -0400
From: [EMAIL PROTECTED]
Subject: Re: [Tutor] Get information from a web page
To: tutor@python.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-6"

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 only to that url?*************************************


To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to