Skip to content

Commit

Permalink
Update website_crawler.py to keep clean urls (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
nespera authored Aug 21, 2024
1 parent 42eddb0 commit cbdfac4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crawlers/website_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def crawl(self) -> None:
pos_regex=self.pos_regex, neg_regex=self.neg_regex,
indexer=self.indexer, visited=set(), verbose=self.indexer.verbose)
urls = clean_urls(urls_set, keep_query_params)
urls = list(set(urls_set))
else:
logging.info(f"Unknown pages_source: {self.cfg.website_crawler.pages_source}")
return
Expand Down

0 comments on commit cbdfac4

Please sign in to comment.