aboutsummaryrefslogtreecommitdiff
path: root/btshow/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'btshow/main.go')
-rw-r--r--btshow/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/btshow/main.go b/btshow/main.go
index 9d204bb..f335729 100644
--- a/btshow/main.go
+++ b/btshow/main.go
@@ -4,6 +4,7 @@ import (
"fmt"
"io/ioutil"
"log"
+ "net/url"
"os"
"dim13.org/btget/bencode"
@@ -24,4 +25,5 @@ func main() {
log.Fatal(err)
}
fmt.Println(tor)
+ fmt.Println(url.QueryEscape(string(tor.InfoHash)))
}