A downloader/parser, written in Python, that can parse the website and pull website content into well-formed JSON files. Code should be well-written, DRY, and follow Google’s Python-styling guide (https://google.github.io/styleguide/pyguide.html). ... If you do another job for me, you should be able to reuse portions of this code.
Files. One well-formed JSON for each petition.
Tests. Do test - driven development and include reasonable tests to show that the code works.
... Write successful files out to a folder (in the same directory as the program is executed) called “changeorg_jsons”, and failures out to “changeorg_issues”.
On failure, log the failure and the issue in a dated log file; allow program to continue to run.