scrapyd v1.5 breaks jobs view (Oops! Something went wrong)
Describe the bug Do to this change in v1.5.0 the regex here (https://github.com/my8100/scrapydweb/blob/8de7ede6fe317e3ef1688572c5a0e8112cc3232f/scrapydweb/views/dashboard/jobs.py#L99C9-L99C83) does not pass and therefore the jobs view results in the error: Oops! Something went wrong.
if status_code != 200 or not re.search(r'<body><h1>Jobs</h1>', self.text):
Fix
Change the regex from <body><h1>Jobs</h1> to <body>\s*<h1>Jobs</h1>
Additional context I will add a pull request when I get more time and learn how to make one :)
Thanks for your feedback. Scrapyd v1.5.0 was released recently and may introduce many changes. I will conduct a thorough test with it.
Fixed in scrapydweb v1.5.1, pls have a try.