urlparser function
Merge pull request #4 from No9/master

urlparser function