05 2019 档案

摘要:传送门 阅读全文
posted @ 2019-05-16 09:26 酷酷的城池 阅读(273) 评论(0) 推荐(0) 编辑
摘要:import mathimport randomimport codecsimport requestsimport jsonid=1headers='''accept: */*accept-encoding: gzip, deflate, braccept-language: zh-CN,zh;q 阅读全文
posted @ 2019-05-15 14:31 酷酷的城池 阅读(1158) 评论(0) 推荐(0) 编辑
摘要:import math import random from Crypto.Cipher import AES from Crypto.Cipher import AES from binascii import b2a_hex, a2b_hex import codecs import requests import base64 import rsa class downmusic(ob... 阅读全文
posted @ 2019-05-12 08:27 酷酷的城池 阅读(381) 评论(0) 推荐(0) 编辑
摘要:获取文件后缀os.path.splitext(file)[-1] 整型转字符窜>>> print str(10000L)10000 json.dumps是将dict转化成str格式,json.loads是将str转化成dict格式。 #生成一个字典d = {'name':{},'age':{},'s 阅读全文
posted @ 2019-05-11 20:20 酷酷的城池 阅读(124) 评论(0) 推荐(0) 编辑
摘要:strs=''' content-type: application/x-www-form-urlencoded cookie: _iuqxldmzr_=32; _ntes_nnid=cb19ce2c34b69416ecbc14b408135460,1552790636492; _ntes_nuid=cb19ce2c34b69416ecbc14b408135460; WM... 阅读全文
posted @ 2019-05-11 20:19 酷酷的城池 阅读(793) 评论(0) 推荐(0) 编辑
摘要:import requestsfrom bs4 import BeautifulSoupimport reimport osimport jsonfrom urllib import parseheaders='''Accept-Ranges: bytesAccess-Control-Allow-O 阅读全文
posted @ 2019-05-11 20:16 酷酷的城池 阅读(855) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示