该文被密码保护。 阅读全文
posted @ 2024-09-10 15:23 我爱你的 阅读(0) 评论(0) 推荐(0) 编辑
摘要: import subprocessfrom functools import partialsubprocess.Popen = partial(subprocess.Popen, encoding='utf-8')import execjsimport requestsdef medthod_ex 阅读全文
posted @ 2024-09-06 16:13 我爱你的 阅读(2) 评论(0) 推荐(0) 编辑
摘要: const CryptoJS = require('crypto-js')// var text = "123456"// md5Text = CryptoJS.MD5(text).toString()// // console.log(md5Text);// //输出: e10adc3949ba5 阅读全文
posted @ 2024-09-06 16:08 我爱你的 阅读(1) 评论(0) 推荐(0) 编辑
摘要: for name, price in zip(name_list, price_list): print(name + '的房子价格为' + price + '万') Python3中的zip函数可以把两个或者两个以上的迭代器封装成生成器,这种zip生成器会从每个迭代器中获取该迭代器的下一个值,然后 阅读全文
posted @ 2024-08-22 03:11 我爱你的 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-08-19 10:21 我爱你的 阅读(0) 评论(0) 推荐(0) 编辑
摘要: import pymysql#json文件中格式一个列表包含一个个的字典数据 #[{"title": "胖猫事件-21岁游戏代练胖猫跳江身亡,PUA捞女女主谭竹遭网友报告视频", "cover": "https://suvip888.com/20240516/U8NEMN2P/1.jpg", "m3 阅读全文
posted @ 2024-07-08 21:10 我爱你的 阅读(9) 评论(0) 推荐(0) 编辑
摘要: import reimport requestsdef get_proxies_list(num): res = requests.get(url=f"http://api.89ip.cn/tqdl.html?api=1&num={num * 2}&port=&address=&isp=").tex 阅读全文
posted @ 2024-06-30 00:05 我爱你的 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # -*- encoding: utf-8 -*-import fakerfake = faker.Faker(locale='zh_CN')def mian(): for i in range(50000): item = {} item['num'] = i yield itemdef mian 阅读全文
posted @ 2024-06-29 18:26 我爱你的 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import js2py as js2py #速度慢 而且js代码里面只能有一个函数 def method_js2py(js_path,encrypt_data): with open(js_path, 'r') as f: js_code = f.read() func = js2py.eval_ 阅读全文
posted @ 2024-06-14 03:13 我爱你的 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #前提安装了node.js 并且设置环境变量 https://blog.csdn.net/bestyellow/article/details/119820509 import subprocessfrom functools import partialsubprocess.Popen = par 阅读全文
posted @ 2024-06-14 02:55 我爱你的 阅读(3) 评论(0) 推荐(0) 编辑