Hello everybody!!!
I am trying to pass automatically, using Google App Engine, my password and ID to eBay, to this page:
(It is where I get redirected to from this URL: https://signin.ebay.com). Here is how the page looks like:
Earlier I have asked some questions, and here one very nice supporter suggested that I use code from this link: http://chillorb.com/?p=195 If you have no time to go there, here is how that page looks like:
So, I pasted that code into my editor substituting the valid eBay URL, my ID and password. My ID there is seeyousoondanny and the password is happy1 (I created that account on eBay just for experimenting, so I am not afraid to give out my ID and password). Here is how the code looked in my editor:
But when I run this code I get only this:
What am I doing wrong here?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Addition:
Here is the bottom of the error page (I think it will be seen clearer if you click on the link to this image):
+++++++++++++++++++++++++++++++++++++++++++++++++++
Addition:
I guess this code has no syntax mistakes:
from google.appengine.api import urlfetch
import base64
url = "https://signin.ebay.com/ws/eBayISAPI.dll?SignIn&UsingSSL=1&pUserId=&co_partnerId=2&siteid=0&ru=http%3A%2F%2Fcgi5.ebay.com%2Fws2%2FeBayISAPI.dll%3FSellItem%26hm%3Dum.rundkoi376%26%26hc%3D1%26guest%3D1&pageType=1144"
authString = 'Basic' + base64.encodestring('seeyousoondanny:happy1')
data = urlfetch.fetch(url, headers= {'AUTHORIZATION' : authString })
if data.status_code == 200:
print "content-type: text/plain"
print
print data.status_code