mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-21 10:28:50 +00:00
Feat: Experimental support for potoken inside redis
Using https://git.nadeko.net/Fijxu/youtube-po-token-generator
This commit is contained in:
@@ -397,3 +397,11 @@ def gen_videoplayback_proxy_list
|
||||
end
|
||||
return external_videoplayback_proxy
|
||||
end
|
||||
|
||||
def get_po_token
|
||||
REDIS_DB.get("invidious:po_token")
|
||||
end
|
||||
|
||||
def get_visitor_data
|
||||
REDIS_DB.get("invidious:visitor_data")
|
||||
end
|
||||
Reference in New Issue
Block a user