Fwd: Hello

2008-07-17 Thread spandana g
b2.urlopen(req).read() its still giving the error mentioned above .. Iam accessing the yahoo search engine .. link is "http://search.yahoo.com/search?n=20&p=ipod"; I'm attaching the python file i have written just have a look and suggest me something that works for this query

HTTP request error with urlopen

2008-07-03 Thread spandana g
Hello , I have written a code to get the page source of the google search page .. this is working for other urls. I have this problem with import re from urllib2 import urlopen string='http://www.google.com/search?num=20&hl=en&q=ipod&btnG=Search' file_source=file("google_source.txt",'w'

HTTP request error with urlopen

2008-07-02 Thread spandana g
Hello , I have written a code to get the page source of the google search page .. this is working for other urls. I have this problem with import re from urllib2 import urlopen string='http://www.google.com/search?num=20&hl=en&q=ipod&btnG=Search' file_source=file("google_source.txt",'w'