From 790eba42fbfece5793dd21bfd88ac647f9375a78 Mon Sep 17 00:00:00 2001 From: Emilien <4016501+unixfox@users.noreply.github.com> Date: Sat, 8 Mar 2025 23:35:54 +0100 Subject: [PATCH] fix: logic where we want to have the invidious logic if companion is not used --- src/invidious/videos/parser.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr index afbd9e00..2fafe780 100644 --- a/src/invidious/videos/parser.cr +++ b/src/invidious/videos/parser.cr @@ -108,7 +108,7 @@ def extract_video_info(video_id : String) params = parse_video_info(video_id, player_response) params["reason"] = JSON::Any.new(reason) if reason - if CONFIG.invidious_companion.present? + if !CONFIG.invidious_companion.present? new_player_response = nil # Don't use Android test suite client if po_token is passed because po_token doesn't