Is your feature request related to a problem? Please describe.
None
Describe the solution you'd like
The solution that I would like is if the docker container crashes due to a bug within the code, we need to re-run the GitHub scraper for the missing dates. An example would be if the docker container shuts down on 2/2 and the bot is back up 2/5, we need to scrape for jobs between 2/3 - 2/4.
Describe alternatives you've considered
There are two possible solutions:
Before the bot shuts down, we can save the current date within a .json file. Once the bot comes back up, we use the GitHub scraper to get the dates between the last shut down to today
It may be possible to use a regex to collect the data but unsure
Additional context
Make sure to check out GitHubUtilities and InternshipUtilities classes to see how the GitHub scraper runs with DiscordBot being the main run file to work
Is your feature request related to a problem? Please describe.
None
Describe the solution you'd like
The solution that I would like is if the docker container crashes due to a bug within the code, we need to re-run the GitHub scraper for the missing dates. An example would be if the docker container shuts down on 2/2 and the bot is back up 2/5, we need to scrape for jobs between 2/3 - 2/4.
Describe alternatives you've considered
There are two possible solutions:
Additional context
Make sure to check out
GitHubUtilities
andInternshipUtilities
classes to see how the GitHub scraper runs withDiscordBot
being the main run file to work