summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2020-07-26 11:50:18 -0400
committerOmar Roth <omarroth@protonmail.com>2020-07-26 11:50:26 -0400
commit176ef19cca04194f98293c4586e61647319fe8e2 (patch)
tree632688431692a5bda56c3287d6eaeb5966652ead
parentdb83ede73ca38cd4c661e96b8f9823db99d9f5c2 (diff)
downloadinvidious-176ef19cca04194f98293c4586e61647319fe8e2.tar.gz
invidious-176ef19cca04194f98293c4586e61647319fe8e2.tar.bz2
invidious-176ef19cca04194f98293c4586e61647319fe8e2.zip
Update mixes link
-rw-r--r--src/invidious/mixes.cr3
1 files changed, 2 insertions, 1 deletions
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"]?