diff --git a/vivaweb.go b/vivaweb.go index 64d6648..25c2f40 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 cast 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)