i open an url1 with urlfetch,and url is redirected to url2,
how can i get the url2

url1->http://graph.heartrails.com/api/?text0=text888&value0=100
url2->http://graph.heartrails.com/graph/48zsnapv.png

the following is the source
----------------------------------------------------------------------------------------------------
    url = "http://graph.heartrails.com/api/?text0=text888&value0=100";
    from google.appengine.api import urlfetch
    result = urlfetch.fetch(url)
    if result.status_code == 200:
        print result.content

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to