fent / fent/node-ytdl-core

How to set a timeout for getInfo request?

Open
#679 7 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
4.7k
Forks
852
PR merge metrics
No merged PRs in 30d

Description

Hi, i'm requesting the video info over proxy and some proxies take a lot of time (more than 30s) to finish the request.

Is there a simple way to set the max. time taken for a get info request, so that i can start again with another proxy? I already tried to set "timeout" in the request options but it seems to not have any affect.

Or is there any way to destroy the actual request so that i can set an own timer?

I already googled a lot for setting timeouts for requests over proxy but haven't found a working solution. Maybe someown got it already to work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.