We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b40a6 commit a0641a7Copy full SHA for a0641a7
1 file changed
seoanalyzer/page.py
@@ -368,9 +368,14 @@ def analyze_a_tags(self, bs):
368
369
url_filename, url_file_extension = os.path.splitext(modified_url)
370
371
+ # ignore links to images
372
if url_file_extension in IMAGE_EXTENSIONS:
373
continue
374
375
+ # remove hash links to all urls
376
+ if '#' in modified_url:
377
+ modified_url = modified_url[:modified_url.rindex('#')]
378
+
379
self.links.append(modified_url)
380
381
def rel_to_abs_url(self, link):
0 commit comments