f3ar007
2009-06-06, 17:02
I have two scripts that use urllib2 to find a token for uTorrent.
One works with windows, and is run in the python shell, it works fine. You can see it here (http://pastebin.com/m280cf0b8).
The other *works* for XBMC, and is run as a normal script in XBMC. You can see it here (http://pastebin.com/mc441180).
The error I get when I run the XBMC script is a 401 HTTPError. Why does this work in pythons' shell and not in xbmc, the ip, port, usr, and pwd values are set the same in both! ???
Here is the debug (http://pastebin.com/m57ba6d7) output.
One works with windows, and is run in the python shell, it works fine. You can see it here (http://pastebin.com/m280cf0b8).
The other *works* for XBMC, and is run as a normal script in XBMC. You can see it here (http://pastebin.com/mc441180).
The error I get when I run the XBMC script is a 401 HTTPError. Why does this work in pythons' shell and not in xbmc, the ip, port, usr, and pwd values are set the same in both! ???
Here is the debug (http://pastebin.com/m57ba6d7) output.