Feat: Experimental support for potoken inside redis

Using https://git.nadeko.net/Fijxu/youtube-po-token-generator
This commit is contained in:
Fijxu
2024-10-12 02:04:14 -03:00
parent 65f3bbcb10
commit b5ab49e8e8
4 changed files with 21 additions and 7 deletions

View File

@@ -460,8 +460,8 @@ module YoutubeAPI
*, # Force the following parameters to be passed by name
params : String,
client_config : ClientConfig | Nil = nil,
po_token : String,
visitor_data : String
po_token : String | Nil,
visitor_data : String | Nil,
)
if visitor_data
@@visitor_data = visitor_data