updating to ytdlp nightly

This commit is contained in:
localhost 2024-03-09 09:14:35 +01:00
parent 3db9f83be5
commit e87afb4e97
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ WORKDIR /usr/src/preservetube/backend
COPY . /usr/src/preservetube/backend COPY . /usr/src/preservetube/backend
RUN yarn RUN yarn
RUN wget https://github.com/yt-dlp/yt-dlp/releases/download/2023.12.30/yt-dlp -q RUN wget https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.03.08.232718/yt-dlp -q
RUN chmod +x yt-dlp RUN chmod +x yt-dlp
CMD ["node", "index.js"] CMD ["node", "index.js"]

View File

@ -21,7 +21,7 @@ async function downloadVideo(url, ws) {
}) })
child.on("close", async (code, signal) => { child.on("close", async (code, signal) => {
if (code == 2 || code == 1) { if (code == 2 || code == 1) { // https://github.com/yt-dlp/yt-dlp/issues/4262
reject({ reject({
fail: true fail: true
}) })