a python script that compare two urls, i want to ignore incidental differences, for…
Jump to turn (8)
- 1a python script that compare two urls, i want to ignore incidental differences,
- 2i want to use this method with a hash to verify if an equal url is already in UR
- 3I want to guarantee that the hash will be the same to equal urls, how do i do th
- 4do I need in the case to use the hash ? I think I can add the normalized\url dir
- 5what is a hash table ? isn't it a set ?
- 6I want to create a URL class that store the url without normalization but calcul
- 7add \\str\\ and \\repr\\ function to URL class. They should return the url witho
- 8I want to change the normalization function to treat http, https and no schema a
- User
a python script that compare two urls, i want to ignore incidental differences, for example "https://www.google.com" and "https://google.com" and "https://www.google.com/" should all be equal
- Assistant
Here is a Python script that compares two URLs and ignores incidental differences: