yihong0618
b6c355d77b
fix: format md
2023-07-13 14:30:49 +08:00
yihong0618
85b2e059d2
fix: author format bug
2023-07-13 13:37:07 +08:00
yihong0618
38ce5c8cd5
Merge branch 'main' of https://github.com/yihong0618/Kindle_download_helper
2023-07-13 13:19:44 +08:00
yihong0618
5189588ac6
fix
2023-07-13 13:19:21 +08:00
yihong
7ab66a4357
Merge pull request #136 from nomanfound/patch-1
...
remove illegal chars in file name
2023-07-13 12:51:41 +08:00
yihong0618
d8a17122cd
info it
2023-07-13 12:44:41 +08:00
yihong0618
157dbfae10
fix: can not download bug
2023-07-13 12:39:26 +08:00
yihong0618
0566ad36f1
doc: info it
2023-07-13 12:05:35 +08:00
yihong0618
6a1051117d
feat: your kindle memory
2023-07-13 12:01:07 +08:00
NoManFound
2b84b3d5e7
remove illegal chars in file name
2023-07-12 00:54:04 +08:00
yihong0618
2345d2e849
fix: no epub dir
v1.5
2023-07-07 17:25:23 +08:00
yihong0618
e6de3bccd4
fix : #132
2023-07-06 22:49:46 +08:00
yihong0618
a10fa25801
feat: support pdoc
2023-07-06 22:22:27 +08:00
yihong0618
999b8ca78d
fix: timeout
2023-06-30 23:16:11 +08:00
yihong
b8706616e3
Merge pull request #125 from louieh/main
2023-06-30 06:59:53 +08:00
louieh
92103066e5
create dedrm folder
2023-06-30 00:02:29 +08:00
yihong0618
cb7d5506bd
fix: encoding
2023-06-27 10:01:18 +08:00
yihong
1e494947b8
Merge pull request #123 from higuoxing/file-path-too-long
...
Set the default value of --cut-length to a smaller value.
2023-06-27 05:12:00 +08:00
yihong
e39db0f1d7
Merge pull request #124 from higuoxing/add-downloads-to-gitignore
...
Add DOWNLOADS/ to .gitignore.
2023-06-27 05:11:26 +08:00
Xing Guo
7f2b82a19e
Add DOWNLOADS/ to .gitignore.
...
Ignore the files being downloaded.
2023-06-26 23:08:54 +08:00
Xing Guo
1acaf38d71
Set the default value of --cut-length to a smaller value.
...
I'm encountering a 'File name too long' issue when playing with
kindle_download_helper. This patch sets the default value of
--cut-length (from 100) to a smaller value (76).
Stack trace:
```
Book part successfully saved to DOWNLOADS/B07X8FKFVG_EBOK.mbpV2
Traceback (most recent call last):
File "/home/v/x/gh/Kindle_download_helper/kindle_download_helper/no_cli.py", line 94, in no_main
nk.download_book(e["ASIN"])
File "/home/v/x/gh/Kindle_download_helper/kindle_download_helper/no_kindle.py", line 231, in download_book
self._download_kfx(manifest, asin)
File "/home/v/x/gh/Kindle_download_helper/kindle_download_helper/no_kindle.py", line 331, in _download_kfx
with ZipFile(fn, "w") as myzip:
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/zipfile.py", line 1283, in __init__
self.fp = io.open(file, filemode)
^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 36] File name too long: 'DOWNLOADS/82年生的金智英【豆瓣2019年最受欢迎图书!亚洲10年来少见的现象级畅销书。一个女孩要经历多少看不见的坎坷,才能跌撞地长大成人。韩国总统文在寅、
民主持人刘在石、BTS团长南俊都_B07X8FKFVG_EBOK.kfx-zip'
[Errno 36] File name too long: 'DOWNLOADS/82年生的金智英【豆瓣2019年最受欢迎图书!亚洲10年来少见的现象级畅销书。一个女孩要经历多少看不见的坎坷,才能跌撞地长大成人。韩国总统文在寅、国民主持
刘在石、BTS团长南俊都_B07X8FKFVG_EBOK.kfx-zip'
```
Can we have a smarter algorithm to truncate the file name?
2023-06-26 23:00:33 +08:00
yihong
c3df34159a
Update README.md
2023-06-26 22:32:35 +08:00
yihong0618
a152db0907
fix: no requirements
2023-06-26 22:26:14 +08:00
yihong
9195a5389e
更新 requirements.txt
2023-06-26 21:55:58 +08:00
yihong0618
5117ab42e0
doc: special thanks
2023-06-26 21:22:50 +08:00
yihong0618
ff273e546a
doc: info it
2023-06-26 21:21:53 +08:00
yihong0618
499deb1ce9
fix: file path
2023-06-26 20:58:12 +08:00
yihong0618
05369d5a1d
feat: no need kindle
2023-06-26 20:56:45 +08:00
yihong0618
539454c959
fix : #122
v1.41
2023-06-26 16:45:52 +08:00
yihong
9890671bdc
Merge pull request #112 from frostming/local-file
...
fix: write local files to home dir to avoid permission issues
2023-03-12 20:34:57 +08:00
Frost Ming
76d60546cc
fix: write local files to home dir to avoid permission issues
...
Signed-off-by: Frost Ming <me@frostming.com >
2023-03-12 20:27:17 +08:00
yihong0618
62f7f0ff72
fix: use the same version
2023-03-10 08:56:11 +08:00
yihong0618
8e66ae4156
bump version
v1.4
2023-03-10 08:53:02 +08:00
yihong
4d9ab5f44a
Merge pull request #109 from yihong0618/epub
...
feat: epub
2023-03-10 08:51:36 +08:00
yihong0618
50e3ed0eeb
feat: epub
2023-03-10 08:50:56 +08:00
yihong0618
ef0058c49d
doc: add black info
v1.3.1
2023-02-20 13:51:09 +08:00
yihong0618
39ef0c89b0
format
v1.3
2023-02-20 13:41:55 +08:00
yihong
633d28fa21
Merge pull request #107 from nightroan/main
...
Add option to download selected books in GUI
2023-02-20 13:40:54 +08:00
nightroan
9bdd717282
Add feature to download selected books in GUI
2023-02-17 02:51:41 -08:00
nightroan
d0b7a05b86
fix: gui get csrf_token automatically
...
Fixed issue where GUI fetch button fails csrf_token check
Call ensure_cookie_token to automatically get csrf_token if missing
2023-02-17 01:52:30 -08:00
yihong
12e428843a
Merge pull request #105 from shinyypig/add_sel_mode
...
Add all/sel mode for cli.
2023-01-17 09:36:15 +08:00
Liangliang Zhu
cfff424a32
minor improvements
2023-01-16 23:38:49 +08:00
Liangliang Zhu
529c095ae8
change default our dir to ./tmp
2023-01-16 09:09:58 +08:00
Liangliang Zhu
970271a66f
add comments
2023-01-13 12:43:02 +08:00
Liangliang Zhu
87f209176c
add illustration for the sel mod
2023-01-13 12:33:04 +08:00
Liangliang Zhu
0492df3442
add download mode (all/sel) to cli
2023-01-13 12:17:43 +08:00
Liangliang Zhu
fc52c07a7e
move find_device() into class Kindle
2023-01-13 12:17:14 +08:00
yihong0618
51b2f07400
fix: doc
2023-01-09 15:27:48 +08:00
yihong0618
3b8a139819
feat: support uk
v1.2
2023-01-09 15:26:24 +08:00
otakutyrant
1b7db0c8fd
Update README.md ( #101 )
...
Improve the Chinese description of how to find cookie.
2022-12-02 19:34:36 +08:00