mirror of https://github.com/Chocobozzz/PeerTube
Fix youtube-dl tests
parent
04d1da5621
commit
a8ca6190fb
|
@ -612,11 +612,12 @@ describe('Test video imports', function () {
|
|||
await testBinaryUpdate('https://api.github.com/repos/ytdl-org/youtube-dl/releases', 'youtube-dl')
|
||||
})
|
||||
|
||||
it('Should update youtube-dl from raw URL', async function () {
|
||||
this.timeout(120_000)
|
||||
// FIXME: official instance is broken
|
||||
// it('Should update youtube-dl from raw URL', async function () {
|
||||
// this.timeout(120_000)
|
||||
|
||||
await testBinaryUpdate('https://yt-dl.org/downloads/latest/youtube-dl', 'youtube-dl')
|
||||
})
|
||||
// await testBinaryUpdate('https://yt-dl.org/downloads/latest/youtube-dl', 'youtube-dl')
|
||||
// })
|
||||
|
||||
it('Should update youtube-dl from youtube-dl fork', async function () {
|
||||
this.timeout(120_000)
|
||||
|
|
|
@ -46,7 +46,7 @@ function getServerImportConfig (mode: 'youtube-dl' | 'yt-dlp') {
|
|||
http: {
|
||||
youtube_dl_release: {
|
||||
url: mode === 'youtube-dl'
|
||||
? 'https://yt-dl.org/downloads/latest/youtube-dl'
|
||||
? 'https://api.github.com/repos/ytdl-org/youtube-dl/releases'
|
||||
: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases',
|
||||
|
||||
name: mode
|
||||
|
|
Loading…
Reference in New Issue