Closed ghost closed 7 years ago
Look at the common named functions and see if the code is exactly the same or you require some extra parameters for these SIMILAR functions and then add them in common.py so that you can merge them.
Yes, I've done that. A few require parameters, such as downloadXMLTranscript, which one has different encoding needs and another has a different URL, so I added in two extra input variables so that those can be done.
This requires more work. Please verify ALL the functions from ALL modules once again.
createSoupObject, deleteUnnecessaryfiles, downloadXMLTranscript, getTitle, downloadDfxpTranscript, and convertXMLToSrt are refactored into common.py