Verified Commit 83482ec4 authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix youtube-dl import for peertube videos

parent a3f45a2a
......@@ -42,7 +42,7 @@ class YoutubeDL {
getYoutubeDLInfo (opts?: string[]): Promise<YoutubeDLInfo> {
return new Promise<YoutubeDLInfo>((res, rej) => {
let args = opts || [ '-j', '--flat-playlist' ]
let args = opts || []
if (CONFIG.IMPORT.VIDEOS.HTTP.FORCE_IPV4) {
args.push('--force-ipv4')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment