Giter Site home page Giter Site logo

Comments (7)

Camio1945 avatar Camio1945 commented on July 18, 2024

关闭梯子又可以下载了。

from geektime-downloader.

nicoxiang avatar nicoxiang commented on July 18, 2024

@Camio1945 ok,也感谢提供信息。经常有人提示会超时,情况各不相同,挺头疼的。

from geektime-downloader.

Camio1945 avatar Camio1945 commented on July 18, 2024

@nicoxiang 关闭梯子以后也确实还是会经常超时。不知道你的算法是怎样的,建议超时之后把时间窗口加倍后重试,再超时再加倍后重试,上限10分钟吧。或者给出超时重试次数的配置参数也行。
image

from geektime-downloader.

nicoxiang avatar nicoxiang commented on July 18, 2024

先靠重试吧,后面我再看下,其实我设的超时时间已经很长了,我自己试下来很少出现,我后面再看下

from geektime-downloader.

Camio1945 avatar Camio1945 commented on July 18, 2024

碰到一个超时概率为100%的专栏了。
专栏ID:100043001
专栏名称:摄影入门课
image

from geektime-downloader.

nicoxiang avatar nicoxiang commented on July 18, 2024

@Camio1945 如果了解go的话可以像下面这样改下下面这一行源码重新build试试

https://github.com/nicoxiang/geektime-downloader/blob/main/internal/pdf/pdf.go#L181

networkIdle 改成 networkAlmostIdle

from geektime-downloader.

nicoxiang avatar nicoxiang commented on July 18, 2024

0.10.1-beta.1
版本后增加--wait-seconds参数,现在Chrome生成PDF前的等待页面加载时间默认为8秒,可以通过该参数自行设置。

欢迎提交Issue/PR。

from geektime-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.