mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-09 07:27:16 +00:00
Feat: Experimental support for potoken inside redis
Using https://git.nadeko.net/Fijxu/youtube-po-token-generator
This commit is contained in:
@@ -324,7 +324,7 @@ rescue DB::Error
|
||||
end
|
||||
|
||||
def fetch_video(id, region, po_token, visitor_data)
|
||||
info = extract_video_info(video_id: id, po_token: po_token, visitor_data: visitor_data)
|
||||
info = extract_video_info(video_id: id, user_po_token: po_token, user_visitor_data: visitor_data)
|
||||
|
||||
if reason = info["reason"]?
|
||||
if reason == "Video unavailable"
|
||||
|
||||
Reference in New Issue
Block a user