4 ms·
There's also some Python bindings for it: http://code.google.com/p/python-google-url/ http://code.google.com/p/python-google-url/
by coderdude 16y ago
There's also some Python bindings for it: http://code.google.com/p/python-google-url/ http://code.google.com/p/python-google-url/
- kierank 16y agoPython 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.