Resolve the Thunderbolt address as the original address,
Gist Address: https://gist.github.com/leo493852107/b51b8f8cd3af4594a716920f3648d58b
#!/usr/bin/env python#-*-coding:utf-8-*-__author__="Leo"__time__="2018-01-12"" "resolve the Thunderbolt address as the original address thunder:// Qufodhrwjtnbjtjgjtjgenvpzgf6es54dw5szwl6axl1yw4ubmv0jtjgmtgwmsuyrivfocu5osu4rsvfnsu5nsvcocvfosvcrsu5osvfnsu5mcu5ri00mc5tc drawg== Reference: Http://www.iplaypy.com/code/security/se2360.html" "ImportBase64ImportRe fromUrllib.parseImportunquoteImportURLLIB3ImportRequestsdefConvert_thunder_url (thunder_url): Request_url="https://tool.lu/urlconvert/ajax.html"params= { "Link": Thunder_url} res= Requests.post (Request_url, params=params). JSON () Http_str= res['text']['http'] returnHttp_strdefJie_ma (HTTP_STR):Print(unquote (HTTP_STR))defconvert_2 (thunder_url): TMP= Thunder_url.replace ('thunder://',"') Http_str= Base64.b64decode (Tmp.encode ()). Decode ('GBK') [2:-2] returnHttp_strif __name__=='__main__': Print("Convert the Thunderbolt link to the real address:") whileTrue:thunder_url= Input ("Please enter the Thunderbolt link:") Http_str=convert_2 (Thunder_url) jie_ma (HTTP_STR)#While True: #Thunder_url = input ("Please enter the Thunderbolt link:") #http_str = Convert_thunder_url (thunder_url) #Jie_ma (HTTP_STR)
Python3, resolve the Thunderbolt address as the original address