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
331 stars 31 forks source link

Login not possible using docker image on Arch Linux #97

Closed relthyg closed 1 year ago

relthyg commented 1 year ago

Describe the issue After pasting the captcha response I get a

pyperclip.PyperclipException: 
    Pyperclip could not find a copy/paste mechanism for your system.

To Reproduce Steps to reproduce the behavior:

  1. Run docker run --rm -it --user $(id -u):$(id -g) -v ${HOME}/.config:/home/config ghcr.io/subdavis/kobodl --config /home/config/kobodl.json user add
  2. Enter your Kobo credentials (Why do I have to enter my password twice??)
  3. Open https://authorize.kobo.com/signin in your Browser
  4. Copy the JavaScript code to your browsers's console and execute it
  5. Solve the captcha
  6. Copy the captcha response and paste it into your terminal window

Expected behavior I should be logged in

Desktop (please complete the following information):

subdavis commented 1 year ago

@relthyg thanks, added a workaround in #99

Pull latest image for fix: docker pull ghcr.io/subdavis/kobodl:latest