scrapy / scrapyd-client

Command line client for Scrapyd server
BSD 3-Clause "New" or "Revised" License
770 stars 146 forks source link

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

Closed mxdev88 closed 1 year ago

mxdev88 commented 2 years ago

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
jpmckinney commented 2 years ago

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