Skip to content

Commit

Permalink
test: skip vimeo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 21, 2024
1 parent 50363a6 commit ec49eff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const youtubedl = require('youtube-dl-exec')
const path = require('path')
const fs = require('fs/promises')

const { getFlags } = require('../../src/get-media/provider/generic')
const { getFlags } = require('../../src/get-media')

let [, , url, filename] = process.argv

Expand Down
5 changes: 3 additions & 2 deletions packages/metascraper-media-provider/test/video/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ const { metascraper } = require('../helpers')
const isCI = !!process.env.CI

;[
// TODO: vimeo is not exposing an HTTP endpoint URL for the video
// TODO: uncomment when the issue is resolved
// https://github.com/ytdl-org/youtube-dl/issues/29205
// 'https://vimeo.com/channels/staffpicks/287117046',
// 'https://vimeo.com/showcase/3717822',
'https://vimeo.com/443437002'
// 'https://vimeo.com/443437002'
].forEach(url => {
;(isCI ? test.skip : test)(url, async t => {
test.skip(url, async t => {
const metadata = await metascraper({ url })
debug(metadata.video)
t.is(extension(metadata.video), 'mp4')
Expand Down

0 comments on commit ec49eff

Please sign in to comment.