This commit is contained in:
parent
b9079e1e55
commit
50ce126ed6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user