From 176ef19cca04194f98293c4586e61647319fe8e2 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 26 Jul 2020 11:50:18 -0400 Subject: [PATCH] Update mixes link --- src/invidious/mixes.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/invidious/mixes.cr b/src/invidious/mixes.cr index 960d994d..c69eb0c4 100644 --- a/src/invidious/mixes.cr +++ b/src/invidious/mixes.cr @@ -24,8 +24,9 @@ def fetch_mix(rdid, video_id, cookies = nil, locale = nil) if cookies headers = cookies.add_request_headers(headers) end - response = YT_POOL.client &.get("/watch?v=#{video_id}&list=#{rdid}&gl=US&hl=en&has_verified=1&bpctr=9999999999", headers) + video_id = "CvFH_6DNRCY" if rdid.starts_with? "OLAK5uy_" + response = YT_POOL.client &.get("/watch?v=#{video_id}&list=#{rdid}&gl=US&hl=en", headers) initial_data = extract_initial_data(response.body) if !initial_data["contents"]["twoColumnWatchNextResults"]["playlist"]?