alvarcarto / alvarcarto/url-to-pdf-api

scrollPage bug

未关闭
#52 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted PR welcome
主要语言
HTML
星标
7.1k
派生
779
PR 合并指标
30 天内没有已合并 PR

描述

There are some websites such as [example](https://mp.weixin.qq.com/s?__biz=MjM5OTk5MjM2NQ==&mid=2649991076&idx=1&sn=19dd9a50b3cd49e77f7910c57c01c796&chksm=bf340ae6884383f0bce22e2951ba3b96929ec24f030bb013d53d683f66527a6d811810bda9db&scene=21#wechat_redirect) using a special lazy loading strategy.

When users scroll quickly(<300ms) they do not load image. Just when users stop to look at the content they load image.

So, I think that we need another option (scrollInterval) to let user to test and decide the interval.

releated discussions:

https://github.com/GoogleChrome/puppeteer/issues/338#issuecomment-333301117

Thanks!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。