Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deduplicate based on url #299

Closed
ghost opened this issue Jul 25, 2018 · 3 comments
Closed

deduplicate based on url #299

ghost opened this issue Jul 25, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2018

When i set: crawler.queue({skipDuplicates:true}), (which is supposed to be true by default.)
According to the doc: " The request is considered to be the same if URL, userAgent, device, and extraHeaders are strictly the same.",
is there a way to deduplicate based only on the URL?
I only need to export URLs of a certain domain.

@Minyar2004
Copy link

same issue for me

@kulikalov
Copy link
Contributor

Hey @Devhercule! Could you elaborate a little?

userAgent, device, and extraHeaders are not changing randomly, so the only thing that is new on every page is the URL. So, I don't see issues here

@kulikalov
Copy link
Contributor

closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants