-
-
Save lopesivan/719ceb29cd06f5d9a138c21d54c9c823 to your computer and use it in GitHub Desktop.
URL decoder command line toots written in Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Usage : | |
$ echo encoded_url | python url-decoder.py | |
''' | |
import sys | |
import urllib | |
data = sys.stdin.read() | |
print(urllib.unquote(data)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment