Skip to content

Commit

Permalink
Update spidersel.py
Browse files Browse the repository at this point in the history
small fix regarding keyword count
  • Loading branch information
l4rm4nd authored Aug 2, 2023
1 parent 5a4ae1d commit f401b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spidersel.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def spider_links(driver, base_url, depth, visited_urls, min_length):
# Combine keywords from all spidered sites and print them as newline-separated values
combined_keywords = '\n'.join(unique_keywords)
keyword_list = combined_keywords.split('\n')
num_keywords = len(keyword_list)
num_keywords = len(keyword_list) - 1

# Get the root domain from the URL
extracted = tldextract.extract(args.url)
Expand Down

0 comments on commit f401b04

Please sign in to comment.