mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Clean up Video class
This commit is contained in:
parent
aa0864f87d
commit
f0b33b2975
2 changed files with 18 additions and 21 deletions
|
@ -150,11 +150,8 @@ spawn do
|
|||
top = rank_videos(PG_DB, 40)
|
||||
client = get_client(youtube_pool)
|
||||
|
||||
args = [] of String
|
||||
if top.size > 0
|
||||
(1..top.size).each { |i| args << "($#{i})," }
|
||||
args = args.join("")
|
||||
args = args.chomp(",")
|
||||
args = arg_array(top)
|
||||
else
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue