subdavis / kobo-book-downloader

A tool to download and remove DRM from your purchased Kobo.com ebooks and audiobooks.
https://pypi.org/project/kobodl/
The Unlicense
348 stars 33 forks source link

Errors in the process of logging in to download KOBO books with Kobodl #117

Open hubabe opened 3 months ago

hubabe commented 3 months ago

I'm using Ubuntu 22.04 and I've tried to create a new user in KOBO from the command line, with kobodl version 0.8.0. Everything works fine, up to the CAPCHA, after entering the instruction you provide for browsing incognito, ( browser console (F12)), I receive the following response:

«P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.hadwYXNza2V5xQQEdNnNe94T__FXsAlF5Bx3oqp3CRW6dN7tRGnjz67NnAev1uPgKPfsI-Dlppa5xSrG4jHTg7vLhCWp7k9OLI6Drvop7jx9S2zu2y7AuRXdKzTYl9AiggMQmNnOyAqTVnEBV4EppLO6cvzZ2MSCrq2EE7colECFKZAruzDK44eEQD6siQQolas9Xosax93dPcT_txJuZtDoyvulCPT-XM-WVSIZvmqrYihob8-ECrr5ZyuiIhCtP0_P9FCSGrwsImaXyrJuACdLds4nPvR73vcsTuOxrsaX4ct3Nc615QRaBQVlpT9d4PUfuxWf2-Z1tlkBx7QJEtMCWz64-iZsaKlST6agbMMTwBOXL16k7ylr1AoSCtpLLUiBV5kjVOiwPX5EA9fQplPho3Eu1djrDdDLt2FKaTZbc9_g61_CDKuZFZHBrFXqlOrr_FXyMUa4GjZWJwiPltKl_QSIy0Njjjv9eNJ8k-dMhhe2b6Q9cLRYMobaS3eeC6YXkwmIFCZ_HiTC3djc7eVtwLDQMrVdube_hH_5K0DLvKRRJxTQhITyhYhIkcZ0NrVOrtPLClqkkO4fNUdKHySGbRLWFcrcxeILYflbvu0BOVX4vayj5YGBD9AJ6_vw7DWle7vVJpnddbFNMibdi49rmzD0Vbaifjy2tb2femFFKtkO6EPk_Ewuiwb_lP1g6ZfSwRJ6A01mEpQzrsuEtlPKFJySxaWkCkuXlB-7utIhr5_oXuNyMH2FHVbJzXo_rPQrQqfZ7Yv8csav7z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fh3US9KmjZXhwzmbCDK2oc2hhcmRfaWTOBEclkaJrcqdjMGE0MDBjonBkAA.a5bGYggLPexOCqG6ilmoviL3rbBm6vrIMeiMEOyw16w debugger eval code:7:73 Traceback (most recent call last): File "/home/hugo/anaconda3/bin/kobodl", line 8, in sys.exit(cli()) ^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/core.py", line 829, in call__ return self.main(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/core.py", line 610, in invoke return callback(args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hugo/anaconda3/lib/python3.11/site-packages/kobodl/commands/user.py", line 78, in add actions.Login(user, password, captcha) File "/home/hugo/anaconda3/lib/python3.11/site-packages/kobodl/actions.py", line 169, in Login kobo.Login(user.Email, password, captcha) File "/home/hugo/anaconda3/lib/python3.11/site-packages/kobodl/kobo.py", line 479, in Login raise KoboException('Login Failure! ' + errors.text) kobodl.kobo.KoboException: Login Failure! Incorrect CodePlease enter the correct CAPTCHA code. »

Can you help me?

Before you open an issue Please make sure you've upgraded to the latest version of kobodl on pypi or docker. Also read through the troubleshooting guide. Try running with --debug enabled and see what comes up in the debug log.

Do not erase this template, it's here to help you.

Describe the issue A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.