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

Enable detecting "See buying options" on Amazon #15

Open
sarmadym opened this issue Sep 27, 2020 · 10 comments
Open

Enable detecting "See buying options" on Amazon #15

sarmadym opened this issue Sep 27, 2020 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sarmadym
Copy link

sarmadym commented Sep 27, 2020

Amazon only shows see buying options on the 3080/3090 page and not directly add to cart therefore the bot doesn't detect it. Can this be addressed? I saved the html of the Amazon page when the see buying options showed can provide if it helps. I changed the detection string to "See buying options" in the code but then it detects everything. Need something more specific to the button when it is actually showing on the page not source of html

image

@rambosbff
Copy link

Yeah, I saw this pop up In another discord I'm in, but this one flew right past snatcher

@jxjftw
Copy link

jxjftw commented Sep 27, 2020

One of the guys in my discord server got a positive hit, while most others did not. Amazon must not be displaying "see buying options" 100% of the time.
image

@samuelm2
Copy link
Owner

I was under the impression that the "See buying options" was when it was a 3rd party seller, but the "Add to cart" was for an actual seller. Is that not the case?

@sarmadym
Copy link
Author

One of the guys in my discord server got a positive hit, while most others did not. Amazon must not be displaying "see buying options" 100% of the time.
image

Which line of the code caught it? This line is not going to catch the screenshot above. I have a local clone of the code which I run and tested it. "https://www.amazon.com/stores/page/6B204EA4-AAAC-4776-82B1-D7C3BD9DDC82?ingress=0": (">Add to Cart<", True, GET_URLLIB, 'Amazon 3080')

@jxjftw
Copy link

jxjftw commented Sep 27, 2020

The only thing amazon.ts is looking for is add to cart, it must have shown add to cart instead of see all buying options for him. Also last week (wed i think) when the EVGA's dropped on amazon the page was displaying "see all buying options" instead of add to cart as well.

@jxjftw
Copy link

jxjftw commented Sep 27, 2020

I was under the impression that the "See buying options" was when it was a 3rd party seller, but the "Add to cart" was for an actual seller. Is that not the case?

When these pop up they show see buying options instead of add to cart, by the time the page switches to add to cart it's too late.

@sarmadym
Copy link
Author

I was under the impression that the "See buying options" was when it was a 3rd party seller, but the "Add to cart" was for an actual seller. Is that not the case?

The only thing amazon.ts is looking for is add to cart, it must have shown add to cart instead of see all buying options for him. Also last week (wed i think) when the EVGA's dropped on amazon the page was displaying "see all buying options" instead of add to cart as well.

Yes, this time it was "ships and sold by Amazon.com" when you clicked on "See buying options" but still not "Add to cart" shown on the page the bot crawls. So its not 3rd party seller.

@Kosyne
Copy link
Collaborator

Kosyne commented Sep 27, 2020

Is there a way to differentiate 3rd party sellers if a method like this was implemented? We wouldn't want to notify if that were the case.

@jxjftw
Copy link

jxjftw commented Sep 27, 2020

Is there a way to differentiate 3rd party sellers if a method like this was implemented? We wouldn't want to notify if that were the case.

you could search for text sold by amazon.com

@Kosyne Kosyne added enhancement New feature or request help wanted Extra attention is needed labels Sep 28, 2020
@jeckerman
Copy link
Contributor

Source: https://www.scrapehero.com/tutorial-how-to-scrape-amazon-seller-prices-using-python/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants