diff --git a/src/invidious.cr b/src/invidious.cr index 137ce72a..7e109407 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -221,8 +221,9 @@ end decrypt_function = [] of {name: String, value: Int32} spawn do loop do - begin client = make_client(YT_URL) + + begin decrypt_function = update_decrypt_function(client) rescue ex end