aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-02-19 13:57:47 +0530
committersinanmohd <pcmsinan@gmail.com>2023-03-11 19:05:05 +0530
commitd827faec807077c4696a4c483bcf4b39f1bb9b19 (patch)
treeb23197f5877cfec7c470648f142d21521666cfdc
parent8e86a2690af639f3ff1cffde3858fdcd22d7eda8 (diff)
1337x: accept compressed http content
-rwxr-xr-x1337x2
1 files changed, 1 insertions, 1 deletions
diff --git a/1337x b/1337x
index c8916c0..2587b68 100755
--- a/1337x
+++ b/1337x
@@ -31,7 +31,7 @@ get_1337x()
: "${1:?}"
dep_check curl
- curl --silent "${url_1337x}/$1"
+ curl --silent -H 'Accept-Encoding: gzip,deflate, br' --compressed "${url_1337x}/$1"
}
search_1337x()