3 ms·
If the url doesn't contain the required component, it will throw errors. Why not return an empty string like urlparse does?
by solox3 14y ago
If the url doesn't contain the required component, it will throw errors. Why not return an empty string like urlparse does?