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 · 3 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 and the captcha is likely to be the cause.

Workaround:

To fix this, simply login to IMDB website in your browser, preferably Chrome and from the same computer. If logged in, logout, and log back in. It may ask you to fill in a captcha, complete it and finish logging in. After logging in successfully on your browser run the script again and it should work. You may need to repeat this step once or twice if it still gives you issues.

Manual Solution:

  • There is a manual method you can try by editing IMDBTraktSyncer.py file in a text editor (located in your main script install directory). Add a # before the line options.add_argument("--headless=new") like this #options.add_argument("--headless=new") and then save the file and run the script again. When the script runs you will be able to see exactly what's the script is doing and fill in the captcha manually if necessary. If this works and the captcha is no longer triggered you can remove the # and run the script again like normal.

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.

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