MCPcopy Create free account
hub / github.com/Algebra-FUN/WeReadScan / scan2pdf

Method scan2pdf

WeReadScan/WeRead.py:168–284  ·  view source on GitHub ↗

scan `weread` book to pdf and save offline. 扫面`微信读书`的书籍转换为PDF并保存本地 :Args: - book_url: the url of weread book which aimed to scan 扫描目标书籍的ULR - save_at='.': the path of where to save 保存地址

(self, book_url, save_at='.', binary_threshold=200, quality=100, show_output=True, font_size_index=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

demo.pyFile · 0.80

Calls 11

turn_light_onMethod · 0.95
set_font_sizeMethod · 0.95
switch_to_contextMethod · 0.95
SMethod · 0.95
escapeFunction · 0.85
dir_checkFunction · 0.85
img2pdfFunction · 0.85
os_start_fileFunction · 0.85
clickMethod · 0.80

Tested by

no test coverage detected