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

How do I know the parsed url? #13

Open
tttp opened this issue Dec 6, 2011 · 0 comments
Open

How do I know the parsed url? #13

tttp opened this issue Dec 6, 2011 · 0 comments

Comments

@tttp
Copy link

tttp commented Dec 6, 2011

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+

wilr added a commit to wilr/node-scraper that referenced this issue Feb 16, 2013
Utilizes the third argument of the callback to pass back the request options for the given URL.

Assists handling with parallel requests.
wilr added a commit to wilr/node-scraper that referenced this issue Feb 16, 2013
Utilizes the third argument of the callback to pass back the request options for the given URL.

Assists handling with parallel requests.
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

1 participant