topDotComs.py

added error handling for failed requests.
Revert "closed the for loop"

This reverts commit 4100941b46a564726697c5f1de5dabd451f5169c.