kiddult
2019-01-28 11:18:27 +08:00
就是个简单映射
返回的结果里面有个 uniqid,用这个去 ptbk 接口换映射表,映射表前一半字符对应后一半字符,把 data 的数据转换一下就行
```python
>>> m = list('xI3Rnp40+iCkHaD,9-3710.6245+8%')
>>> v = 'iCakkkkxpCkapkixIpk+R+x+iRkpCxpCiakIIxInIinpxI4aaRkxai4RRnx+RCk4pxnpCaCRxkakn4pxa4+I4ixRpk4Ipxn+CIInaxiknCCnkxC4ap+axIC+I+axkCankixpppnpRIxpikC+iixan+4kpxp444Rk+xppRp+Cnx+iiiaRxpp4CnRIxpkpiRRnxiRCn++4xIR4pkkxpCRR+CRxpnkni+n'
>>> d = dict(zip(m[:len(m)//2:], m[len(m)//2::]))
>>> ''.join(map(lambda x: d[x], v))
'2485555,1458152,915636,623514,1428599,979271,908835,820337,634501,714843,585701,806902,315091,7649978,2574475,408168,946968,548752,1117139,1254622,876051,1000356,1131647,622283,1104739,1512337,2347660,930155,1433643,1757267'
```