pip install -U git+https://github.com/my8100/scrapyd.git@add_basic_auth
[scrapyd] username = yourusername password = yourpassword
scrapyd
In [1]: import requests In [2]: requests.get('http://127.0.0.1:6800/').status_code Out[2]: 401 In [3]: requests.get('http://127.0.0.1:6800/', auth=('admin', 'admin')).status_code Out[3]: 401 In [4]: requests.get('http://127.0.0.1:6800/', auth=('yourusername', 'yourpassword')).status_code Out[4]: 200
pip install -U git+https://github.com/my8100/scrapydweb.git
my8100/scrapydgithub