Refactor  FetchPythonTutorialsURLs.py

Make it more efficient