Are you using http proxying when you browse to the server? Have you tried to
do
$ curl http://DOMAINHERE/
If that works, connecting with a plain socket should work too. Otherwise, I
believe urllib has support for a proxying server, check the docs.
On 9/5/07, Lamonte Harris <[EMAIL PROTECTED]> wr
Anyone got an answer for this?
On 9/3/07, Lamonte Harris <[EMAIL PROTECTED]> wrote:
>
> Yeah I can browse it like normal. For some reason though my News System
> that worked like a charm just stopped working also. Is there any
> alternatives that I could try to use to POST to a PHP script?
>
> O
[Tim Golden]
>> To do the obvious, can you open a socket connection
>> to the domain you're using?
>>
>>
>> from socket import socket
>> socket ().connect (("DOMAINHERE", 80))
>>
>>
>>
>> or does it give you the same error?
[Lamonte Harris]
> Yeah I basically got the same error.
>
> T
Lamonte Harris wrote:
> Error Message in cmd:
> Traceback (most recent call last):
> File "wniamp_lastest5_playlist.py", line 25, in
> response = urllib2.urlopen(request)
> File "C:\Python25\lib\urllib2.py", line 121, in urlopen
> return _opener.open(url, data)
> File "C:\Python25\li
Error Message in cmd:
Traceback (most recent call last):
File "wniamp_lastest5_playlist.py", line 25, in
response = urllib2.urlopen(request)
File "C:\Python25\lib\urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "C:\Python25\lib\urllib2.py", line 374, in open