Add alternate downloader

That works a lot faster, pog
This commit is contained in:
2024-11-05 15:36:08 +01:00
parent 7c02cbf0e4
commit f5c072360b
6 changed files with 162 additions and 8 deletions

8
downloader/utils.go Normal file
View File

@@ -0,0 +1,8 @@
package main
import "sync"
const OUTPUT_DIR = "C:/Users/Administrator/ytdlpVideos"
var ongoingDownloads = make(map[string]struct{})
var ongoingDownloadsMutex = &sync.Mutex{}