summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-07-26 16:23:55 -0500
committerOmar Roth <omarroth@hotmail.com>2018-07-26 16:23:55 -0500
commitf7a5ce265293b0a72600e58c7da1f6775f54066c (patch)
tree269928d2e2c74d691bc4ffe30671c210b27dc382
parent548ad14154af6b3d754065381a4a5866fb841270 (diff)
downloadinvidious-f7a5ce265293b0a72600e58c7da1f6775f54066c.tar.gz
invidious-f7a5ce265293b0a72600e58c7da1f6775f54066c.tar.bz2
invidious-f7a5ce265293b0a72600e58c7da1f6775f54066c.zip
Don't try to update all channel videos
-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