all repos — fixyoutube-go @ a7e96ee3847f0c97e6fcee2aa5d5d87504660167

A better way to embed YouTube videos everywhere (inspired by FixTweet).

fix cache
Marco Andronaco andronacomarco@gmail.com
Fri, 22 Nov 2024 22:32:14 +0100
commit

a7e96ee3847f0c97e6fcee2aa5d5d87504660167

parent

29d827408340269e64205c65fe96873275948e65

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M invidious/queries.goinvidious/queries.go

@@ -14,6 +14,6 @@ );`

const getVideoQuery = "SELECT * FROM videos WHERE videoId = (?);" -const cacheVideoQuery = "INSERT OR REPLACE INTO videos (videoId, title, description, uploader, duration, url, thumbnail, expire) VALUES (?, ?, ?, ?, ?, ?, ?);" +const cacheVideoQuery = "INSERT OR REPLACE INTO videos (videoId, title, description, uploader, duration, url, thumbnail, expire) VALUES (?, ?, ?, ?, ?, ?, ?, ?);" const clearQuery = "DELETE FROM videos;"