Add timeout option
Closed this issue ยท 5 comments
ricardofunke commented
Sometimes I had an issue when getting to the next page search results with the VideosSearch.next() function where it just stays forever like something was wrong with the connection, so maybe it needs a connection timeout parameter
mytja commented
Async search already has a timeout...
Do you use async or sync version?
ricardofunke commented
I use the sync version, the problem is that sometimes it just hangs there forever so I had to implement a multiprocess function to force it to timeout.
mytja commented
Thanks for the comment.
I will add a timeout parameter soon...
mytja commented
Hello, @ricardofunke !
I have added timeout parameter. Let me know if it works ๐
ricardofunke commented
Thanks mytja! I'll start using it and let you know, have a nice day! ๐