Open mfraser opened 3 years ago
Can you share the config you're using (minus the email part) ?
{ "email": { }, "base_url": "https://www.amazon.co.uk/dp/", "xpath_selector": "//*[@id=\"priceblock_ourprice\"]", "items": [ ["B07VS31PLC", 50], ["B0832VWWD1", 80], ["B07KKBCXLY", 27] ] }
It works for me. Which country are you connecting from? Are you using a VPN?
I am in the UK and not on a VPN.
All I get is "Didn't find the 'price' element, trying again later"
If you're trying to go to one of these pages in a private windows (incognito), e.g: https://www.amazon.co.uk/dp/B07VS31PLC https://www.amazon.co.uk/dp/B0832VWWD1 https://www.amazon.co.uk/dp/B07KKBCXLY
does it look ok or is it prompting for captcha?
It is only asking to accept cookies.
You can try adding some more headers like here: https://stackoverflow.com/a/63675657
Other than that there's not much I can do if I can't reproduce it myself.. Did it work for a while and then stop, or were you seeing the same behavior since the first request?
hello. 1st of all, respect. 2nd, in another site i am trying price-alert it has only class,not id before the price section and i cannot load this in the json file. do u suggest any solutions?
Which site? The config just holds the XPath selector to the element, it should work with a class also. You can get the XPath for the element when inspecting it, then right click and copy as XPath.
Zara. has no id. And even if i right click and get the Xpath, still doesn't work :( Update: All g man, i am simply idiot! thanks for the response and nice work guys!
Just tried to run price-alert and I was getting the
Didn't find the 'price' element, trying again later
Now it looks like Amazon is wanting me to enter a Captcha.
Enter the characters you see below