3

I'm using the splash on an ubuntu server and followed the instructions to install with docker (https://github.com/scrapy-plugins/scrapy-splash).

docker run -p 8050: 8050 scrapinghub / splash

How can I change the settings and set username and password?

Gallaecio
  • 3,620
  • 2
  • 25
  • 64
rnnhm
  • 53
  • 6
  • This question is old, but I solved using LoadBalancer (HAproxy) to set http access authentication. – rnnhm Apr 25 '18 at 20:27

2 Answers2

0

The easiest way is to use Aquarium with the auth_user and auth_password options.

This is described in How to run Splash in production?, from the Splash FAQ.

Gallaecio
  • 3,620
  • 2
  • 25
  • 64
0

When it comes to integrating Aquarium-Splash and Scrapy, the user and password could be passed under scrapy crawl using the -a option as per official documentation of Scrapy.

simone
  • 148
  • 2
  • 7