[skip-ci] comment
This commit is contained in:
1 parent
ed78f7132b
commit
cbacdc5dcd
1 file changed
+4
-3
@@ -114,9 +114,10 @@ namespace InnertubeService
|
||||
responseData = ObjectUtils.Dig(responseData, ["contents", "twoColumnWatchNextResults", "playlist", "playlist"])
|
||||
if responseData = invalid
|
||||
' Sometimes the response doesn't contain a playlist.
|
||||
' The theory here is that Innertube creates a playlist for the videoIds, and sometimes
|
||||
' it chooses to respond without the playlist (perhaps to avoid slow responses).
|
||||
' A retry after a short sleep usually fixes this (but not always).
|
||||
' The theory here is that when a private video is in the list, the created playlist
|
||||
' is no longer publicly available. That's why it is not returned. Also happens with
|
||||
' a deleted video.
|
||||
' A retry after a short sleep SOMETIMES fixes this (but not always).
|
||||
' TODO:P1: Figure out why this happens and if there's a better way to handle it.
|
||||
if retry
|
||||
LogWarn("Response data missing playlist. Retrying in a bit...")
|
||||
|
||||
Reference in new issue
Block a user