scrapy-do icon indicating copy to clipboard operation
scrapy-do copied to clipboard

Web interface on heroku using port 80?

Open BenjiWilson opened this issue 4 years ago • 1 comments

Is there any way to use port 80 and a subdirectory URL for the web interface? Heroku can't use anything other than port 80.

Great tool -- thank you.

BenjiWilson avatar Dec 30 '20 07:12 BenjiWilson

You can specify the port in the configuration file. See the documentation here:

https://scrapy-do.readthedocs.io/en/v0.5.0/server-configuration.html

You can also configure the location of the web modules like this:

https://github.com/ljanyst/scrapy-do/blob/master/scrapy_do/default.conf

However, this may only work for leaf nodes. I never actually had any need for this. The UI JavaScript code may need some adjustments.

I am happy to accept a pull request implementing this, but have no time or need to work on this myself. If you decide to submit a pull request, please make sure it follows the commit conventions used in the project and that you maintain the full test coverage.

ljanyst avatar Dec 30 '20 12:12 ljanyst