updating to ytdlp nightly
This commit is contained in:
parent
3db9f83be5
commit
e87afb4e97
|
@ -8,7 +8,7 @@ WORKDIR /usr/src/preservetube/backend
|
|||
COPY . /usr/src/preservetube/backend
|
||||
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
|
||||
|
||||
CMD ["node", "index.js"]
|
|
@ -21,7 +21,7 @@ async function downloadVideo(url, ws) {
|
|||
})
|
||||
|
||||
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({
|
||||
fail: true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue