Additional fixes on link checks
This commit is contained in:
@@ -96,7 +96,7 @@ func handleSingleTorrent(requestPath string, t *torrent.TorrentManager) (*string
|
||||
sort.Strings(filenames)
|
||||
for _, filename := range filenames {
|
||||
file, _ := tor.SelectedFiles.Get(filename)
|
||||
if file == nil || file.Link == "" {
|
||||
if file == nil || !strings.HasPrefix(file.Link, "http") {
|
||||
// will be caught by torrent manager's repairAll
|
||||
// just skip it for now
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user