-
Notifications
You must be signed in to change notification settings - Fork 21
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
The program keeps throwing exceptions #13
Comments
I get this as well. I don't know if it makes a difference but I am running: |
It may be because eBay changed their sign in page. I'll take a look at this. |
Unfortunately this is happening because they are now showing Captcha pages to prevent automated login:
|
Ah. Does this mean R.I.P.? |
IMO we can solve this by enabling JavaScript. Not sure how to do it tho |
Enabling JavaScript is easy enough, it suffices to use an The sole purpose of captchas are to prevent people to automate actions throughout the website. Even if someone found a way to do bypass them today I'm sure eBay will continue to close those holes. It's a cat-and-mouse game I don't have the time or willingness to pursue, so unless someone else wants to play with the project, it's R.I.P. 🙁 |
Probably exposing my ignorance of the authentication process, but I wonder if a manual workaround might be to log in manually on a regular browser, copy the cookie across to your server machine and make available to that login request? |
It all depends on how they are checking for automation. We can copy cookies as a way to bypass captchas on authentication, but there's nothing preventing eBay from adding captchas on the other requests and actions too (if they haven't already). Simple engines like jsoup and HtmlUnit are easily detectable; real browsers controlled by a web driver like Selenium may have a better chance, but it's still a considerable effort to implement support for them and there's no guarantee it will work. |
Bah I miss this |
So in the great words of Dr. McCoy, Chief Surgeon of the starship Enterprise, "It's dead, Jim." |
What is everyone else using these days? |
Just by using duckduckgo to search for "ebay snipe" I came across this project. It was written within 9 months ago as of date of posting, and hopefully still might work. |
Edit: I digged deeper and realized that the webpage https://www.ebay.com/signin/s periodically forbids GET method. For example, you will get 405 error if you use
wget https://www.ebay.com/signin/s
When the GET method is allowed, the program runs into the second exception, NoSuchElementException.
The program throws two kinds of exception when logging in. Any ideas?
I ran it by:
docker run -d -p 3647:3647 -e 'EBAY_USERNAME=myaccount' -e 'EBAY_PASSWORD=mypassword' ruippeixotog/ebay-snipe-server:0.2.3-SNAPSHOT
The text was updated successfully, but these errors were encountered: