diff options
| author | Émilien Devos <contact@emiliendevos.be> | 2021-06-19 22:02:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 22:02:42 +0200 |
| commit | e6bdcff0dd55d71af92c55958487a5aa0006edf3 (patch) | |
| tree | 5afb75895f94a4c5b37cfce4b7866ed960fb8081 /src | |
| parent | bab263f4263ba89b8c67a4ae54db855ba902fce8 (diff) | |
| parent | 4803285e50b3799986b5b88b3953d0e147278626 (diff) | |
| download | invidious-e6bdcff0dd55d71af92c55958487a5aa0006edf3.tar.gz invidious-e6bdcff0dd55d71af92c55958487a5aa0006edf3.tar.bz2 invidious-e6bdcff0dd55d71af92c55958487a5aa0006edf3.zip | |
Merge pull request #2183 from iv-org/unixfox-patch-1
update video URL for recaptcha detection
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/jobs/bypass_captcha_job.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/jobs/bypass_captcha_job.cr b/src/invidious/jobs/bypass_captcha_job.cr index e68b81e6..87cf7688 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=zj82_v2R6ts&gl=US&hl=en&has_verified=1&bpctr=9999999999", produce_channel_videos_url(ucid: "UCK87Lox575O_HCHBWaBSyGA")}.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) |
