mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 10:18:24 +00:00
Don't try to update all channel videos
This commit is contained in:
parent
548ad14154
commit
f7a5ce2652
@ -137,10 +137,9 @@ channel_threads.times do |i|
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
id = rs.read(String)
|
id = rs.read(String)
|
||||||
channel = get_channel(id, client, PG_DB)
|
channel = fetch_channel(id, client, PG_DB, false)
|
||||||
rescue ex
|
rescue ex
|
||||||
STDOUT << id << " : " << ex.message << "\n"
|
STDOUT << id << " : " << ex.message << "\n"
|
||||||
client = make_client(YT_URL)
|
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user