MCPcopy Create free account

hub / github.com/Algebra-FUN/WeReadScan / functions

Functions18 in github.com/Algebra-FUN/WeReadScan

↓ 14 callersMethodS
(self, selector)
WeReadScan/WeRead.py:55
↓ 8 callersMethodclick
(self, target)
WeReadScan/WeRead.py:58
↓ 2 callersFunctiondir_check
(dir)
WeReadScan/script/os_util.py:12
↓ 2 callersFunctionescape
(file_name)
WeReadScan/script/os_util.py:24
↓ 1 callersMethodcheck_all_image_loaded
check if all image is loaded. 检查图书Image是否全部加载完毕.
WeReadScan/WeRead.py:71
↓ 1 callersFunctionclear_temp
(file_name)
WeReadScan/script/os_util.py:21
↓ 1 callersFunctionimg2pdf
(file_name, jpg_name_list, binary_threshold=200, quality=100)
WeReadScan/script/png2pdf.py:20
↓ 1 callersMethodlogin
show QRCode to login weread. 展示二维码以登陆微信读书 :Args: - wait_turns: Loop turns wait for scanning QRCod
WeReadScan/WeRead.py:95
↓ 1 callersFunctionos_start_file
(file_name)
WeReadScan/script/os_util.py:18
↓ 1 callersFunctionpng2bmp
(file_path, binary_threshold=200)
WeReadScan/script/png2pdf.py:13
↓ 1 callersMethodscan2pdf
scan `weread` book to pdf and save offline. 扫面`微信读书`的书籍转换为PDF并保存本地 :Args: - book_url: the url of w
WeReadScan/WeRead.py:168
↓ 1 callersMethodset_font_size
set font size 设置字体大小 :Args: - font_size_index=0: the index of font size(1-7) 字体大小级
WeReadScan/WeRead.py:145
↓ 1 callersMethodshot_full_canvas_context
(self, file_name)
WeReadScan/WeRead.py:61
↓ 1 callersMethodswitch_to_context
switch to main body of the book
WeReadScan/WeRead.py:140
↓ 1 callersMethodturn_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