ljanyst / scrapy-do

A daemon for scheduling Scrapy spiders
https://jany.st/scrapy-do.html
BSD 3-Clause "New" or "Revised" License
65 stars 18 forks source link

Web interface on heroku using port 80? #32

Open BenjiWilson opened 3 years ago

BenjiWilson commented 3 years ago

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.

ljanyst commented 3 years ago

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.