@@ -28,7 +28,7 @@ def compare_urls(url_a, url_b):
29 host_b = url_b.netloc
29 host_b = url_b.netloc
31− if host_a != host_b or url_a.query != url_b.query:
31+ if host_a != host_b or url_a.query != url_b.query or url_a.fragment != url_b.fragment:
32 return False
32 return False
34 # remove / from the end of the url if required
34 # remove / from the end of the url if required