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

Add product ID, update test #2

Merged
merged 1 commit into from
Jul 4, 2017
Merged

Conversation

brianpgerson
Copy link
Contributor

I know the info is technically contained in the URL, but I'd rather have a clean payload that gives the customer what it needs rather than do a bunch of string manipulation on receiving the payload.

If you disagree, I'll just use my own fork, otherwise, this works, so I figured I'd just open up the PR.

FYI: wish lists no longer paginate via a "next" link. It's lazy loading (after 23 items, for some reason?), and cheerio doesn't support JS execution, so this scraper might be doomed as far as large lists go. I did some googlin' and didn't find anything super useful or I would have incorporated it here. Luckily, my needs are probably suited even if I don't pull the whole wish list.

@luugiathuy
Copy link
Owner

Thanks @brianpgerson. I will look into the pagination issue.

@luugiathuy luugiathuy merged commit 57c0db1 into luugiathuy:master Jul 4, 2017
@luugiathuy luugiathuy mentioned this pull request Jul 4, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants