a parser for common urls