node-scraper icon indicating copy to clipboard operation
node-scraper copied to clipboard

How do I know the parsed url?

Open tttp opened this issue 13 years ago • 0 comments

Hi,

This one is probably obvious, but how do I know which url is parsed (if I pull several in parallel)? Also the object described in the url has several attributes that can't be guessed by parsing the page.

What's the best way know from the callback what url was parsed, and to pass extra arguments?

eg: url: https://github.com/mape/node-scraper/issues/new install: "nmp install scraper" author: "mape"

from within the callback and beside the status and jquery dom, I'd like url, install and author. X+ X+

tttp avatar Dec 06 '11 04:12 tttp