Change CAPTCHA test URLs

Change test URLs for the bypass captcha job, to ones that are currently being blocked by my instance
This commit is contained in:
St0ne 2021-06-19 17:08:42 +00:00 committed by GitHub
parent bab263f426
commit d6deff3f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)