From d6deff3f86eeb892eef43eb1d3ef0861a5b73a9e Mon Sep 17 00:00:00 2001 From: St0ne Date: Sat, 19 Jun 2021 17:08:42 +0000 Subject: [PATCH] Change CAPTCHA test URLs Change test URLs for the bypass captcha job, to ones that are currently being blocked by my instance --- src/invidious/jobs/bypass_captcha_job.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/jobs/bypass_captcha_job.cr b/src/invidious/jobs/bypass_captcha_job.cr index e68b81e6..d2114908 100644 --- a/src/invidious/jobs/bypass_captcha_job.cr +++ b/src/invidious/jobs/bypass_captcha_job.cr @@ -2,7 +2,7 @@ class Invidious::Jobs::BypassCaptchaJob < Invidious::Jobs::BaseJob def begin loop do begin - {"/watch?v=jNQXAC9IVRw&gl=US&hl=en&has_verified=1&bpctr=9999999999", produce_channel_videos_url(ucid: "UC4QobU6STFB0P71PMvOGN5A")}.each do |path| + {"/watch?v=T3ElIvNBYj0&gl=US&hl=en&has_verified=1&bpctr=9999999999", produce_channel_videos_url(ucid: "UC-VnXWWGa5QpM4cRmNG1UBw")}.each do |path| response = YT_POOL.client &.get(path) if response.body.includes?("To continue with your YouTube experience, please fill out the form below.") html = XML.parse_html(response.body)