summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/invidious/videos.cr6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr
index 228aafbd..e4ccd3d8 100644
--- a/src/invidious/videos.cr
+++ b/src/invidious/videos.cr
@@ -491,9 +491,6 @@ def get_video(id, db, proxies = {} of String => Array({ip: String, port: Int32})
video = fetch_video(id, proxies)
video_array = video.to_a
- # Migration point
- video_array = video_array[0..-2]
-
args = arg_array(video_array[1..-1], 2)
db.exec("UPDATE videos SET (info,updated,title,views,likes,dislikes,wilson_score,\
@@ -509,9 +506,6 @@ def get_video(id, db, proxies = {} of String => Array({ip: String, port: Int32})
video = fetch_video(id, proxies)
video_array = video.to_a
- # Migration point
- video_array = video_array[0..-2]
-
args = arg_array(video_array)
db.exec("INSERT INTO videos VALUES (#{args}) ON CONFLICT (id) DO NOTHING", video_array)
ding@samantaz.fr> 2025-02-18Channels: Fix community tabFijxu 2025-01-28Use Crystal compiler cache in docker buildssyeopite 2025-01-28fix 5161 by checking recommended videos published field for presence instead ↵Drikanis of just not nil 2025-01-26remove ! on rejectepicsam123 2025-01-25Add Courses to channel page and channel APIChunkyProgrammer