3 ms·
Python already has url processing functions inbuilt. Are the google ones better in any way?
by kierank 16y ago
Python already has url processing functions inbuilt. Are the google ones better in any way?
- coderdude 16y agoPython 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.