kobo-book-downloader: 403 Client error when trying to add user

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 When trying to add a new user with ./kobodl-ubuntu user add or with the webui on docker, it fails with requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://authorize.kobo.com/signin?returnUrl=http://kobo.com/&wsa=Kobo&pwsav=8.11.24971&pwspid=00000000-0000-0000-0000-000000004000&pwsdid=2852a229-f8c0-4006-8836-ca8590a96de6

To Reproduce Steps to reproduce the behavior:

  1. Execute the command to add a new user
  2. Input the credentials
  3. Copy captcha from the site
  4. See error

Expected behavior A new user being added

Screenshots Screenshot from 2024-09-27 19-11-27

Desktop (please complete the following information):

  • OS: Linux - Fedroa 40
  • Install method and python version: latest pre-built bundle, Python 3.12.6
  • Kobodl Version: 0.9.3

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 12
  • Comments: 26 (3 by maintainers)

Commits related to this issue

Most upvoted comments

Hitting this as well; I’ve dumped the contents of the 403 response body to https://ext.halka.sk/challenge.html - looks like some extra JS-based validation/redirection; excerpt here:

<title>Challenged | Kobo.com</title>
...
<div class="section"><center><div>
    <p id="cf-spinner-please-wait"></p>
    <p id="cf-spinner-redirecting" style="display:none"></p>
</div>
<noscript><h1>Please turn JavaScript on and reload the page.</h1></noscript>
<div id="no-cookie-warning" style="display:none"><p>Please enable Cookies and reload the page.</p></div>
<form id="challenge-form"></form>
<script>(function(){window._cf_chl_opt={cvId: '3',cZone: "authorize.kobo.com",cType: 'managed',cRay: '8e1e1b95fe776e91',cH: ...