上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页
摘要: 代码没对齐 阅读全文
posted @ 2021-10-27 16:33 布都御魂 阅读(66) 评论(0) 推荐(0)
摘要: import hashlib import random import time import requests keyword = input('请输入你要查询的内容:') def youdao_trans(keyword): salt = str(int(time.time()) * 1000 阅读全文
posted @ 2021-10-26 11:49 布都御魂 阅读(197) 评论(0) 推荐(0)
摘要: var i= "320305.131321201"; function e(r) { var o = r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g); if (null o) { var t = r.length; t > 30 && (r = "" + r.s 阅读全文
posted @ 2021-10-25 15:08 布都御魂 阅读(85) 评论(0) 推荐(0)
摘要: # 把code.js放在同级目录下def tran(): import json import execjs import requests url = "https://fanyi.baidu.com/v2transapi?from=zh&to=en" headers = { "Cookie": 阅读全文
posted @ 2021-10-25 15:07 布都御魂 阅读(426) 评论(0) 推荐(0)
摘要: 1.确保pycharm是专业版 2.在seting->pluging里下载nodejs插件,第一个就是 3.把nodejs.exe配置到环境变量里 4.打开js文件,右键找到编辑‘xx.js’ 5.第一行节点选择器,填上nodejs的安装位置,保存 6.右键,运行文件 7.大功告成 阅读全文
posted @ 2021-10-25 11:34 布都御魂 阅读(4000) 评论(0) 推荐(0)
摘要: """author:张鑫date:2021/10/22 11:50"""import redef warp_heareder(s): print("{") lines = s.splitlines() for i, line in enumerate(lines): k, v = line.spli 阅读全文
posted @ 2021-10-22 15:40 布都御魂 阅读(65) 评论(0) 推荐(0)
摘要: pip install PyExecJS 阅读全文
posted @ 2021-10-21 18:00 布都御魂 阅读(284) 评论(0) 推荐(0)
摘要: ir_content = tree.xpath('//p[@align="justify"]//text()')if ir_content == []: ir_content = tree.xpath('//td/p/span//text()')neirong = '\u3000\u3000' fo 阅读全文
posted @ 2021-10-21 14:59 布都御魂 阅读(44) 评论(0) 推荐(0)
摘要: 配置1、打开Fiddler Tool->Fiddler Options->HTTPS 。 (配置完后记得要重启Fiddler). 选中"Decrpt HTTPS traffic", Fiddler就可以截获HTTPS请求,第一次会弹出证书安装提示,若没有弹出提示,勾选Actions-> Trust 阅读全文
posted @ 2021-10-21 10:03 布都御魂 阅读(467) 评论(0) 推荐(0)
摘要: """author:张鑫date:2021/5/31 15:06"""def ascii_chineses(a): a = a.encode('ascii').decode('unicode_escape') print(a)if __name__ == '__main__': a = r'\u56 阅读全文
posted @ 2021-10-20 16:46 布都御魂 阅读(463) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页