Based on the error I think you are missing a host in your wrapper (if you are using one). Is it possible to post some of your code for us to see what you are doing?
I've totally finished writing a Cliffhanger AP. Totally. The last thing that I put together was the post request to submit my answer to the question and I always get the same error!
My code is simply:Code:Traceback (most recent call last): File "C:\Python27\Doc\Neopets\CliffHangerAP.py", line 157, in <module> clif = opener.open(request) File "C:\Python27\lib\urllib2.py", line 392, in open req = meth(req) File "C:\Python27\lib\urllib2.py", line 1100, in do_request_ raise URLError('no host given') URLError: <urlopen error no host given>
The request in one case was:Code:clif = opener.open(request)
When I copy and paste this exact same request into my browser, it finishes the game without a hitch. What is it about Python alone that is causing this submission to fail?Code:http://www.neopets.com/games/cliffhanger/process_cliffhanger.phtml?solve_puzzle=There+is+only+one+ryshu+and+there+is+only+one+techo+master &submit=I+Know!!!+Let+Me+Solve+The+Puzzle!
Based on the error I think you are missing a host in your wrapper (if you are using one). Is it possible to post some of your code for us to see what you are doing?
(you need an account to see links)
(you need an account to see links)(you need an account to see links)
------------------------
[02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
------------------------
Does it need a referrer in the request?
Referrer is an HTTP header that is sent when you send data through a browser, usually says what the page you came from is
Yeah, that was my understanding of it. I don't really think that's the issue though, considering I can be on any page I want when sending the request from in a browser, and I'm on the correct page with the program.
Try a GET instead of POST. That happened to me one time
For my Subeta autoquesters HTTP Live Headers and Tamper Data both said it was a POST, and after hours of frustration I changed it to a GET and it worked.