jmausolf / poshmark_sharing

BSD 3-Clause "New" or "Revised" License
111 stars 58 forks source link

Captchas have gotten smart #6

Open brown-courtney opened 5 years ago

brown-courtney commented 5 years ago

Not sure if you have encountered this but my account can no longer access Poshmark through this bot. At first when I was caught by the captchas, I could log in manually in a separate web client and re-start the bot and the log-in issue would be fixed. However this is no longer fixing the issue. It seems the captchas have gotten smarter... Maybe could add a pause in the script to allow the user to complete the captchas before the bot proceeds so that it will still automatically share your closet. I don't have a lot of experience dealing with captchas programmatically so maybe there is a better way

brown-courtney commented 5 years ago

I also tried adding

o = Options()
o.add_argument('-private')
f = webdriver.Firefox(firefox_options=o)

to try and get around the captchas but this didn't work either

lkw18 commented 5 years ago

Has anyone solved this issue? I'm able to log in via the bot, but am stopped by the captchas after the scrolling when it starts to share.

rafiks commented 5 years ago

It seems like Poshmark noticed patterns and implemented captchas. we need to find out what triggers the captcha.

  1. is it sharing too fast?
  2. is it logging in several times too fast?
  3. is it logging in on multiple computers?
RollingFred commented 4 years ago

The script ran on my machine for about 12h total, sharing every 2 hours. It finally stopped on captcha at the end of the 12h. I haven't tried to re-start it yet I think we need to break the patterns...

Hypothesis/ideas:

Note that I've been hit by captcha in the middle of sharing, not at the beginning. I was able to open a manual session from Firefox and share manually afterwards.

RollingFred commented 4 years ago

I did change the code to implement random click interval and random sessions, but I still get catpcha now and then. My wife noticed that it happens when something sell. It's possible that the script:

Having one computer and one cellphone logged in at the same time doesn't impact anything