uri decoding in browse.sh

This commit is contained in:
veclav talica 2024-03-31 16:16:12 +05:00
parent 2760d11a67
commit c46ffec7fc

View File

@ -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