Re: Fwd: Hello

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fredrik Lundh

    Re: Fwd: Hello

    spandana g wrote:
    HTTPError: HTTP Error 999: Unable to process request at this time --
    error 999
    >
    Previously i got the error which I have attached below when I use just
    urlopen . But now when I use this http request
    user_agent='Moz illa/3.0(compatible; MISE 5.5;Windows NT)'
    headers={'User-Agent':user_age nt}
    req=urllib2.Req uest(url,None,h eaders)
    file_source.wri te(urllib2.urlo pen(req).read()
    >
    its still giving the error mentioned above .. Iam accessing the yahoo
    search engine .. link is "http://search.yahoo.co m/search?n=20&p=i pod
    <http://search.yahoo.co m/search?n=20&p=i pod>"
    >
    I'm attaching the python file i have written just have a look and
    suggest me something that works for this query
    they have an official API, you know:

    Measure, monetize, advertise and improve your apps with Yahoo tools. Join the 200,000 developers using Yahoo tools to build their app businesses.


    here's an article showing how to install and use it:



    </F>

Working...