Hey Pythoners, its my first post here, yay!
I'm trying to develop a script that will return the results of a POST request that should list all images uploaded by a user. However, when i run the script, i get returned the HTML of the page with the search form. I am wondering what am i doing incorrectly? Is it something I'm doing or is the imagebin server rejecting my request? here's the code: import urllib import urllib2 url = 'http://imagebin.org/index.php?page=search' values = {'search_for' : 'blah', 'field' : 'Nickname'} data = urllib.urlencode(values) request = urllib2.Request(url, data) response = urllib2.urlopen(request) page = response.read() print page tks, pythons great
-- http://mail.python.org/mailman/listinfo/python-list