4 ms·
Python has urlparse, which parses a url into its various components but this library handles canonicalization among other things. It also handles uri schemes th
by coderdude 16y ago
Python has urlparse, which parses a url into its various components but this library handles canonicalization among other things. It also handles uri schemes that urlparse does not. Not to mention the speed difference between the two libs (google-url can handle more urls per second). I think it also is able to distinguish between the domain name and the public suffix.