Add retry on getting session data
This commit is contained in:
1 parent
ee0abc9891
commit
5417f5d61d
1 file changed
+1
@@ -31,6 +31,7 @@ namespace Innertube
|
||||
"Referer": "https://www.youtube.com/sw.js"
|
||||
})
|
||||
request.Cancellation(cancellation)
|
||||
request.TryCount(2)
|
||||
|
||||
response = request.Await()
|
||||
if not response.IsSuccess()
|
||||
|
||||
Reference in new issue
Block a user