Arguments are urlencoded when passed to the spider #77

Closed
barraponto opened this Issue Jan 14, 2015 · 3 comments

Projects

None yet

3 participants

@barraponto

I was naively getting an argument from the command line and it was ok, but when I moved the project to scrapyd I noticed the arguments were being urlencoded when sent by python-requests. I needed to use urlparse.unquote to get the normalized argument.

@jayzeng
Member
jayzeng commented Jan 15, 2015

@barraponto I am sure if I follow. What you described sounds reasonable to me, scrapyd runs over http and should be url encoded, if you rely on the output from scrapyd to trigger your own code, then you should unquote the results. Correct me if I am wrong, seems like I am missing something here.

@Digenis
Collaborator
Digenis commented Mar 15, 2016

@barraponto, can you share an example, including code?

@barraponto

Sorry, it's been a while. If I ever run into this again I'll reopen.

@barraponto barraponto closed this Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment