mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix youtube-dl import for peertube videos
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user