Only copy the content-range header

This commit is contained in:
Ben Adrian Sarmiento
2024-06-05 09:31:50 +02:00
parent 62e6143e06
commit aa11889601
2 changed files with 5 additions and 7 deletions

View File

@@ -3,9 +3,9 @@ package torrent
import "github.com/debridmediamanager/zurg/internal/config"
func (t *TorrentManager) loadDumpedTorrents() {
// TODO: Paywall
// TODO: Paywall?
count := 0
t.getTorrentFiles("data").Each(func(filePath string) bool {
t.getTorrentFiles("dump").Each(func(filePath string) bool {
torrent := t.readTorrentFromFile(filePath)
if torrent != nil {
accessKey := t.GetKey(torrent)