summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/invidious.cr3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 141ab482..8f7bf2ee 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -137,10 +137,9 @@ channel_threads.times do |i|
begin
id = rs.read(String)
- channel = get_channel(id, client, PG_DB)
+ channel = fetch_channel(id, client, PG_DB, false)
rescue ex
STDOUT << id << " : " << ex.message << "\n"
- client = make_client(YT_URL)
next
end
end