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

Sign-in error: HTTPError: 403 Client Error: Forbidden for url #29

Open
alvarovm opened this issue Jan 10, 2025 · 1 comment
Open

Sign-in error: HTTPError: 403 Client Error: Forbidden for url #29

alvarovm opened this issue Jan 10, 2025 · 1 comment

Comments

@alvarovm
Copy link

When I try to sign-in, after copy&paste the captcha code I get an error related with HTTPError.
I suspect the url is malformed.

I run
python kobo-book-downloader list

I get:

Traceback (most recent call last):
  File "/home/user/anaconda3/envs/kobold/lib/python3.8/runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/user/anaconda3/envs/kobold/lib/python3.8/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "./__main__.py", line 98, in <module>
    Main()
  File "./__main__.py", line 85, in Main
    InitializeKoboApi()
  File "./__main__.py", line 54, in InitializeKoboApi
    Globals.Kobo.Login( email, password, captcha )
  File "./Kobo.py", line 215, in Login
    signInUrl, workflowId, requestVerificationToken = self.__GetExtraLoginParameters()
  File "./Kobo.py", line 192, in __GetExtraLoginParameters
    response.raise_for_status()
  File "/home/user/anaconda3/envs/kobold/lib/python3.8/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://authorize.kobo.com/signin?returnUrl=http://kobo.com/&wsa=Kobo&pwsav=10.1.2.39807&pwspid=00000000-0000-0000-0000-000000004000&pwsdid=342ee7bc-ea58-4cbf-87df-427f04ac9b9a&wscfv=1.5&wscf=kepub&wsmc=310270&pwspov=33&pwspt=Mobile&pwsdm=Pixel
@TnS-hun
Copy link
Owner

TnS-hun commented Jan 12, 2025

The good news is that I can reproduce the issue but fixing it might take a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants