Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Algebra-FUN/WeReadScan
/ functions
Functions
18 in github.com/Algebra-FUN/WeReadScan
⨍
Functions
18
◇
Types & classes
1
↓ 14 callers
Method
S
(self, selector)
WeReadScan/WeRead.py:55
↓ 8 callers
Method
click
(self, target)
WeReadScan/WeRead.py:58
↓ 2 callers
Function
dir_check
(dir)
WeReadScan/script/os_util.py:12
↓ 2 callers
Function
escape
(file_name)
WeReadScan/script/os_util.py:24
↓ 1 callers
Method
check_all_image_loaded
check if all image is loaded. 检查图书Image是否全部加载完毕.
WeReadScan/WeRead.py:71
↓ 1 callers
Function
clear_temp
(file_name)
WeReadScan/script/os_util.py:21
↓ 1 callers
Function
img2pdf
(file_name, jpg_name_list, binary_threshold=200, quality=100)
WeReadScan/script/png2pdf.py:20
↓ 1 callers
Method
login
show QRCode to login weread. 展示二维码以登陆微信读书 :Args: - wait_turns: Loop turns wait for scanning QRCod
WeReadScan/WeRead.py:95
↓ 1 callers
Function
os_start_file
(file_name)
WeReadScan/script/os_util.py:18
↓ 1 callers
Function
png2bmp
(file_path, binary_threshold=200)
WeReadScan/script/png2pdf.py:13
↓ 1 callers
Method
scan2pdf
scan `weread` book to pdf and save offline. 扫面`微信读书`的书籍转换为PDF并保存本地 :Args: - book_url: the url of w
WeReadScan/WeRead.py:168
↓ 1 callers
Method
set_font_size
set font size 设置字体大小 :Args: - font_size_index=0: the index of font size(1-7) 字体大小级
WeReadScan/WeRead.py:145
↓ 1 callers
Method
shot_full_canvas_context
(self, file_name)
WeReadScan/WeRead.py:61
↓ 1 callers
Method
switch_to_context
switch to main body of the book
WeReadScan/WeRead.py:140
↓ 1 callers
Method
turn_light_on
(self)
WeReadScan/WeRead.py:164
Method
__enter__
(self)
WeReadScan/WeRead.py:48
Method
__exit__
(self, *args)
WeReadScan/WeRead.py:51
Method
__init__
(self, headless_driver: WebDriver, patience=30, debug=False)
WeReadScan/WeRead.py:41