Skip to content

Parallel scraping results in misses & duplicates #6

Open

Description

@deggis

What an awesome scraper platform! Got all geared up in no time.

However, as I found single page scraping to work just fine, parallel scraping with many (I had 79) URLs fails, resulting in missed URLs and duplicates while the total sum of fetched URLs is correct.

I suspect the reason to be the queuing implementation. I tried a little fix on scraper.js that produced results I was hoping.

Activity

  1. gaara87 commented on Jun 27, 2011

    @gaara87

    I too faced this problem. its just 20 urls, rather than 79.

    Is there a way to enforce a timeout?

  2. deggis commented on Jun 28, 2011

    @deggis
    Author

    What I remember, I think timeout wouldn't help, I think I tried one arrangement. I'm not a JS guru, so I'm not deadsure what would be a rock solid fix for this, but mine worked for me at least :)

  3. reopened this on Jun 28, 2011
  4. deggis commented on Jun 28, 2011

    @deggis
    Author

    (Whoops, Comment & Close was kinda too close.)

  5. nickewansmith commented on Jun 13, 2013

    @nickewansmith

    Try using cheerio instead of jsdom and then implementing your own queuing, worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions