Skip to content

Instantly share code, notes, and snippets.

@balook
Last active May 29, 2020 08:30
Show Gist options
  • Save balook/f96c017b17f9c91bf85173b6a530fb2a to your computer and use it in GitHub Desktop.
Save balook/f96c017b17f9c91bf85173b6a530fb2a to your computer and use it in GitHub Desktop.
this was used to decode encoded urls short script
#! /usr/bin/env python3
import os
import urllib.parse as ul
import sys
for line in sys.stdin.readlines():
decode = ul.unquote(str(line))
dcod = ul.unquote(decode)
print(dcod,end='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment