Uploading images to imageshack.us with Python

Ricardo Sanchez agentriot at gmail.com
Mon Aug 22 01:25:49 EDT 2005


I forgot to add that I'm behind a proxy, but I think that is
irrelevant.

If you are not behind a proxy replace this line:

print post_multipart('proxy-a.mains.nitech.ac.jp', 8080,
'http://imageshack.us/index.php', params, files)

with

print post_multipart('imageshack.us', 80, '/index.php', params, files)




More information about the Python-list mailing list