From b25befca9b666d1195b5a006f4f10ce5ad9ba1c1 Mon Sep 17 00:00:00 2001 From: bel Date: Mon, 14 Dec 2020 22:06:49 -0700 Subject: [PATCH] slight update --- handlers/torrent/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/torrent/main.go b/handlers/torrent/main.go index 5bde835..e2c8dfd 100755 --- a/handlers/torrent/main.go +++ b/handlers/torrent/main.go @@ -182,7 +182,7 @@ func handle(vpntor, outdir, content string) error { func findMagnets(s string) []string { patterns := []string{ `magnet:.xt[^ $"]*`, - `https:..[^"]*\.torrent`, + `https:..[^ "]*\.torrent`, } matches := []string{} for _, pattern := range patterns {