Skip to content

Commit

Permalink
fix(crawler): bad urls from sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
mogery committed Jan 17, 2025
1 parent 237d0dc commit 5992c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/scraper/WebScraper/crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export class WebCrawler {
);
leftOfLimit -= filteredLinks.length;
let uniqueURLs: string[] = [];
for (const url of urls) {
for (const url of filteredLinks) {
if (
await redisConnection.sadd(
"sitemap:" + this.jobId + ":links",
Expand Down

0 comments on commit 5992c57

Please sign in to comment.