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

Captcha sometimes required on IMDB login causing the script to fail #2

Open
RileyXX opened this issue Apr 29, 2023 · 4 comments
Open
Labels
bug Something isn't working

Comments

@RileyXX
Copy link
Owner

RileyXX commented Apr 29, 2023

Problem

IMDB may require a captcha on login. If you see "Not signed in" appear in the script then the script will fail. A captcha check on the IMDB login page is likely the cause.

Workaround:

To resolve this, follow these steps:

  1. Log in to IMDB on your browser (preferably Chrome) and on the same computer.
  2. If already logged in, log out and log back in.
  3. Repeat this process until a captcha check is triggered.
  4. Complete the captcha and finish logging in.
  5. After successfully logging in, run the script again.
  6. You may need to repeat these steps until the captcha check is no longer triggered.

Manual Solution:

  1. Open the IMDBTraktSyncer.py file in a text editor (located in the main script directory).
  2. Find the line options.add_argument("--headless=new").
  3. Comment it out by adding a # at the beginning of the line:
    # options.add_argument("--headless=new")
  4. Save the file and run the script again.
  5. The script will run in visible mode, allowing you to manually complete any CAPTCHA.
  6. Once the CAPTCHA is bypassed, you can remove the # and run the script as usual.

Possible Development:

  • Add a captcha solver into the script. Edit: Tried this option and failed. Gif image type not supported for this captcha solver.
  • Use a 1 time manual login and store cookie method for later use. Note this was tested and ratings would not submit. Further testing required.

Planned for future update.

@RileyXX RileyXX added enhancement New feature or request help wanted Extra attention is needed bug Something isn't working documentation Improvements or additions to documentation and removed enhancement New feature or request help wanted Extra attention is needed documentation Improvements or additions to documentation labels Apr 29, 2023
@RileyXX RileyXX changed the title Captcha sometimes required on login Captcha sometimes required on login causing the script to fail Apr 30, 2023
@RileyXX RileyXX changed the title Captcha sometimes required on login causing the script to fail Captcha sometimes required on IMDb login causing the script to fail May 6, 2023
@RileyXX RileyXX changed the title Captcha sometimes required on IMDb login causing the script to fail Captcha sometimes required on IMDB login causing the script to fail May 18, 2023
@RileyXX RileyXX pinned this issue May 19, 2023
@RileyXX RileyXX unpinned this issue May 19, 2023
@DelaryHap
Copy link

Hello, I had that issue and thought it was a Captcha issue. Turns out the script asks for my username, when it actually should ask for my email address. Replacing my username for my email address in credentials.txt fixed the issue for me. Just wanted to point that out. Thank you for the work!

@androidghosh
Copy link

Turns out the script asks for my username, when it actually should ask for my email address.

Thanks a lot, the script should be updated to say just that. Was stuck for about 1 hour after I decided to check github issues

@RileyXX
Copy link
Owner Author

RileyXX commented Jun 16, 2024

Hello, I had that issue and thought it was a Captcha issue. Turns out the script asks for my username, when it actually should ask for my email address. Replacing my username for my email address in credentials.txt fixed the issue for me. Just wanted to point that out. Thank you for the work!

Thank you very much for pointing this out. You are correct the imdb_username field should be your email or phone number used for logging into IMDB. I made a change in v1.9.3 which should clarify this when setting up for the first time.

@RileyXX
Copy link
Owner Author

RileyXX commented Dec 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants