diff --git a/src/templates/save.eta b/src/templates/save.eta index 4d8c37a..d71c9d3 100644 --- a/src/templates/save.eta +++ b/src/templates/save.eta @@ -1,6 +1,6 @@ <% layout('./layout') %>
- YouTube changed some things, causing downloads to be unstable. Right now, there's a high chance downloads won't work. This should hopefully be fixed in the coming days. + Saving videos should be stable again. Will try some more experiments in the coming days.
@@ -57,9 +57,9 @@ .sorry { margin-top: 10px; position: relative; - background-color: #ffd8cfff; - border-top: 2px dashed #da7b5eff; - border-bottom: 2px dashed #da7b5eff; + background-color: #cfeeffff; + border-top: 2px dashed #5ebbdaff; + border-bottom: 2px dashed #5ebbdaff; padding-top: 5px; padding-bottom: 5px; text-align: center; diff --git a/src/utils/common.ts b/src/utils/common.ts index 406fe86..6075b01 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -59,7 +59,7 @@ async function createDatabaseVideo(id: string, videoUrl: string) { if (channelData.error) return channelData const uploaderAvatar = await uploadImage(data.videoDetails.channelId, channelData.metadata.thumbnail[0].url) - const thumbnailUrl = await uploadImage(id, data.videoDetails.thumbnail.thumbnails[0].url) + const thumbnailUrl = await uploadImage(id, data.microformat.playerMicroformatRenderer.thumbnail.thumbnails[0].url) await db.insertInto('videos') .values({