Skip to content

Commit

Permalink
It was not possible to enter the entire captcha response on MacOS. Fixes
Browse files Browse the repository at this point in the history
 #21.
  • Loading branch information
TnS-hun committed Nov 23, 2022
1 parent de2280c commit 3f365f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kobo-book-downloader/Kobo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
import urllib
import uuid

# It was not possible to enter the entire captcha response on MacOS.
# Importing readline changes the implementation of input() and solves the issue.
# See https://stackoverflow.com/q/65735885 and https://stackoverflow.com/q/7357007.
import readline

class KoboException( Exception ):
pass

Expand Down

0 comments on commit 3f365f8

Please sign in to comment.