Skip to content

Timeout Option for Proxy Requests #324

@saeedesmaili

Description

@saeedesmaili

I'm using youtube-transcript-api some socks5 proxies, which work mostly fine, but sometimes one of the proxies I use doesn't work and the request takes an infinite amount of time to finish or fail.

It would be nice to have some sort of timeout parameter to pass to the get_transcript function, so if the request takes longer than expected, we can do something about it (try another proxy in this case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions