From 97e7a8b8fc3a0f401cc6d96e274e38766531c16d Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Mon, 10 Feb 2025 13:06:49 +0100 Subject: [PATCH] Find videos to fetch based on cast instead of title --- vivaweb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vivaweb.go b/vivaweb.go index cfb21e9..64d6648 100644 --- a/vivaweb.go +++ b/vivaweb.go @@ -208,7 +208,7 @@ func (w *WebClient) FetchVideoMetadata(db *sql.DB) error { log.Printf("Fetching video metadata...") for { // Fetch the next record from the database - row := db.QueryRow("select id, url from videos where title is null limit 1") + row := db.QueryRow("select id, url from videos where cast is null limit 1") var id int var href string err := row.Scan(&id, &href)