Missing timeout option
See original GitHub issueHi,
I’ve tried to use this library to scrape about 40 website asynchronously. I do this by using the Promise object returned by ScrapeIt, and then doing something like this
Promise.all(promises).then( function(result){
The problem here is that one of the websites I scrape can be down/slow at unspecified times (I have no control over it). The problem with the library is that ScrapeIt never seems to time out (tried it for a few minutes, but it won’t return and run the Promise.all … code.
Any suggestion on how I can make it timeout (while still using the library promises)? Did I miss any option?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
missing-timeout / W3101 - Pylint 2.16.0-dev documentation
Description: Used when a method needs a 'timeout' parameter in order to avoid waiting for a long time. If no timeout is specified...
Read more >Missing timeout support · Issue #19 · developit/redaxios - GitHub
One way to implement this is when the timeout is provided in the options we'll create an AbortController and pass the singal to...
Read more >Timeout Missing From Windows Boot Screen
I have a Windows 10 machine that is dual-boot. Using bcdedit, I modified the boot settings so that the legacy boot screen appears...
Read more >Why doesn't requests.get() return? What is the default timeout ...
What is the default timeout that get uses? The default timeout is None , which means it'll wait (hang) until the connection is...
Read more >Download tool - Timeout option missing - Alteryx Community
The default connection timeout duration was increased to ten minutes. An option to configure the connection timeout duration was added. You can ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This should be fixed now.
@Jordi-m Hmm, good point. Reported here: https://github.com/olalonde/follow-redirects/issues/41