aboutsummaryrefslogtreecommitdiff
path: root/crane.go
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-11-25 10:59:06 -0700
committerJordan <me@jordan.im>2022-11-25 10:59:06 -0700
commit5eedb519d8beb35d36d409e5e1545f63c0161c49 (patch)
tree47e73e971632685665bbc78e58a1eabb15efb892 /crane.go
parent4d69cf999805b9bbe72e9ea5168905546208a345 (diff)
downloadcrane-5eedb519d8beb35d36d409e5e1545f63c0161c49.tar.gz
crane-5eedb519d8beb35d36d409e5e1545f63c0161c49.zip
crane: free descriptors from outbound requests, sci-hub URL
Diffstat (limited to 'crane.go')
-rw-r--r--crane.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crane.go b/crane.go
index a9d8601..b678f9d 100644
--- a/crane.go
+++ b/crane.go
@@ -610,7 +610,7 @@ func main() {
var scihub string
- flag.StringVar(&scihub, "sci-hub", "https://sci-hub.se/", "Sci-Hub URL")
+ flag.StringVar(&scihub, "sci-hub", "https://sci-hub.hkvisa.net/", "Sci-Hub URL")
flag.StringVar(&papers.Path, "path", "./papers",
"Absolute or relative path to papers folder")
flag.StringVar(&host, "host", "127.0.0.1", "IP address to listen on")