fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)
MIT License
7.64k stars 874 forks source link

403 using node ffmpeg , however downloading from command line works #1155

Open brightchip opened 2 years ago

brightchip commented 2 years ago
  It return 403 with _fluent-ffmpeg_ but direct command line works     
 ffmpeg(url).addInputOption('-headers', 'Referer: https://' + REFERER + '/')
                // .addInputOption('-headers', userAgent)
            .inputOptions([
                '-i ' + url,
                // '-headers', 'cookies:' + cookies
            ])