Update Readme

发现一个bug,有时候最后几页的图片仍然无法自动加载完成。
建议在打印前增加一个input()函数暂停,手工检测并滚动加载全部图片。
This commit is contained in:
xsohydra 2019-06-25 14:55:49 +08:00 committed by GitHub
parent a2fe6671b8
commit c274e2c064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,8 @@ while(True):
其中,`document.getElementsByClassName("lazy-img")[0]`指的是`document.getElementsByClassName("lazy-img")`的第一个元素,`scrollIntoView()`指的是滚动到该元素的位置
有时候测试比较长的朋友圈页面,最后几页的图片仍然会出现处于加载状态的情况。
这时候可以在打印代码前增加一个input()函数暂停,用手工翻页的方法确保全部页面都加载成功,最后再输入任意字符打印。
#### 打印电子书