Guest User

Untitled

a guest
Oct 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/usr/bin/python
  2. from urlparse import urlparse
  3. from urllib import unquote_plus
  4. from sys import argv
  5.  
  6. url = urlparse(sys.argv[1])
  7. params = dict([part.split('=') for part in url.query.split('&')])
  8. print unquote_plus(params['url'])
Add Comment
Please, Sign In to add comment