Closed markkvdb closed 2 years ago
:+1: We should definitely have better exception handling, Currently we capture a limited number of issues.
Just wanted to add a quick note:this will also fix the issues we are having in the CI pipeline right now. Indeed has been doing this a lot with CAPTCHA lately.
closing due to inactivity
Is your feature request related to a problem? Please describe.
JobFunnel crashes when an exception occurs during scraping because a page cannot be reached due to a CAPTCHA or network error. However, sometimes hundreds of job listings have been scraped so far.
Describe the solution you'd like
Save job listings that have been scraped so far instead of exiting the program with an exception. This could also be implemented for a KeyboardInterrupt.