uri decoding in browse.sh
This commit is contained in:
parent
2760d11a67
commit
c46ffec7fc
@ -6,6 +6,7 @@ printf "%s" "Enter URL: "
|
|||||||
read URL
|
read URL
|
||||||
|
|
||||||
articles=$(curl -s "$URL/articles.txt")
|
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 :
|
while :
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user