Update URLParser.py

Extension detection switched to case-insensitive checks.