updated README and refactored code to deal with non-valid urls, blank lines, and duplicates
Merge pull request #3 from rramphal/handle_exceptions

updated README and refactored code to deal with non-valid urls, blank lines, and duplicates