Web app for Scrapyd cluster management, Scrapy log analysis & visualization, Auto packaging, Timer tasks, Monitor & Alert, and Mobile UI. DEMO :point_right:
Describe the bug
When using DATABASE_URL from heroku postgres options in scrapydweb, the app crashes because it mistakes the username at the start of the url as the database name when it should be the username
To Reproduce
Steps to reproduce the behavior:
Deploy scrapyd and scrapydweb on heroku as in readme.md
In the scrapydweb directory run
$heroku addons:create heroku-postgresql:hobby-dev
to add the database
Run $heroku restart
The app crashes as can be seen in the heroku logs
Expected behavior
The scrapydweb should be able to connect to heroku postgresql normally
Logs
Add logs of ScrapydWeb and Scrapyd (optional) when reproducing the bug.
(It's recommended to run ScrapydWeb with argument '--verbose' if its version >= 1.0.0)
Environment (please complete the following information):
Describe the bug When using DATABASE_URL from heroku postgres options in scrapydweb, the app crashes because it mistakes the username at the start of the url as the database name when it should be the username
To Reproduce Steps to reproduce the behavior:
$heroku addons:create heroku-postgresql:hobby-dev
to add the database$heroku restart
Expected behavior The scrapydweb should be able to connect to heroku postgresql normally
Logs Add logs of ScrapydWeb and Scrapyd (optional) when reproducing the bug. (It's recommended to run ScrapydWeb with argument '--verbose' if its version >= 1.0.0)
Environment (please complete the following information):