Add a function that catches requests errors and sends them back to the calling script. https://stackoverflow.com/questions/16511337/correct-way-to-try-except-using-python-requests-module
Add a function that catches requests errors and sends them back to the calling script.
https://stackoverflow.com/questions/16511337/correct-way-to-try-except-using-python-requests-module