Skip to content

Commit

Permalink
Fix incorrect url reference to request url
Browse files Browse the repository at this point in the history
  • Loading branch information
younglim committed May 26, 2024
1 parent 8340e5c commit 2356ab4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crawlers/crawlDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ const crawlDomain = async (
enqueueLinksByClickingElements,
}) => {

url = request.url;

function isExcluded(url) {
// Check if duplicate scan URL
if (urlsCrawled.scanned.some(item => item.url === url)) {
Expand Down

0 comments on commit 2356ab4

Please sign in to comment.