Skip to content

Instantly share code, notes, and snippets.

@wangxiaodong
Created August 13, 2014 12:12
Show Gist options
  • Select an option

  • Save wangxiaodong/1fefed47495328bc3248 to your computer and use it in GitHub Desktop.

Select an option

Save wangxiaodong/1fefed47495328bc3248 to your computer and use it in GitHub Desktop.

Revisions

  1. wangxiaodong created this gist Aug 13, 2014.
    7 changes: 7 additions & 0 deletions thunderUrl decoder
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    import base64

    thunderUrl = raw_input("thunder url:")
    header = "thunder://"
    # thunderUrl = "thunder://QUFodHRwOi8vZGwxMTcuODBzLmxhOjkyMC8xNDA3L+S/oeWPty/kv6Hlj7dfaGQubXA0Wlo="
    thunderUrl = thunderUrl[len(header):]
    print base64.b64decode(thunderUrl)[2:-2]