kindle download
0.0.3
Download your e-books and personal documents on Amazon
The first run will generate a cookie.txt
in the current directory. Paste the browser cookie
into cookie.txt
and re-run the program. You can also manually create a cookie.txt
file in the current directory and paste the browser cookie
into cookie.txt
, run the program
After logging into Amazon, open the browser console with F12, then find any request and copy the value corresponding to the cookie in the picture below to cookie.txt
Usage of kindle-download: -cn Whether to download Chinese version of books, the default is true (default true) -dir string The file saving directory defaults to ebooks in the current directory (default "ebooks") -worker int Maximum number of coroutines, default 5 (default 5)
Already compiled binaries can be used
# mac 输入以下命令,回车运行 ./kindle-download [workerNum 最大协程数] [fileDir 保持文件夹] [cn 是否下载中国版的书籍,默认为 true]
go run kindle-download.go
go build kindle-download.go
After successful compilation, a kindle-download
executable program will be generated in the current directory.