scrapyd-client icon indicating copy to clipboard operation
scrapyd-client copied to clipboard

scrapyd-client not using authentication config to reach scrapyd unlike scrapyd-deploy

Open mxdev88 opened this issue 3 years ago • 1 comments

When using scrapyd-deploy, the command uses the authentication configuration in scrapy.cfg (username/password) to perform BasicAuth.

When using other commands, it fails.

$ scrapyd-client projects
Received a malformed response:
Unauthorized

mxdev88 avatar Dec 28 '21 09:12 mxdev88

Yes, looks like scrapyd-client doesn't have something like scrapyd-deploy's _add_auth_header.

jpmckinney avatar Dec 29 '21 18:12 jpmckinney