scrapyd-client
scrapyd-client copied to clipboard
scrapyd-client not using authentication config to reach scrapyd unlike scrapyd-deploy
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
Yes, looks like scrapyd-client
doesn't have something like scrapyd-deploy
's _add_auth_header
.