Update URLParser.py

Handle IO Failures
Update URLParser.py

Extension detection switched to case-insensitive checks.
Update URLParser.py

Ensure page detection stops.
Merge pull request #13 from Xon/patch-1

Update URLParser.py