From c46ffec7fc37aeda7bb0f7673154fad06f806d3d Mon Sep 17 00:00:00 2001 From: veclav talica Date: Sun, 31 Mar 2024 16:16:12 +0500 Subject: [PATCH] uri decoding in browse.sh --- browse.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/browse.sh b/browse.sh index f233de0..a2784b6 100755 --- a/browse.sh +++ b/browse.sh @@ -6,6 +6,7 @@ printf "%s" "Enter URL: " read URL articles=$(curl -s "$URL/articles.txt") +articles=$(echo -n "$articles" | python3 -c "import sys; from urllib.parse import unquote; print(unquote(sys.stdin.read()));") while : do