mirror of
https://github.com/sigmasternchen/ShellSpider
synced 2025-03-16 16:39:01 +00:00
9 lines
210 B
Bash
9 lines
210 B
Bash
#!/bin/bash
|
|
|
|
urlencode() {
|
|
python -c "import urllib, sys; print urllib.quote(sys.argv[1])" "$1"
|
|
}
|
|
|
|
urldecode() {
|
|
python -c "import urllib, sys; print urllib.unquote_plus(sys.argv[1]).decode('utf8')" "$1"
|
|
}
|