上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: npm install crypto-js var r = require("crypto-js"); var JSEncrypt = require('node-jsencrypt') function jd_kuaiche(o) { decrypt = new JSEncrypt() var U 阅读全文
posted @ 2021-01-26 14:15 阿磊小哥哥呀 阅读(332) 评论(0) 推荐(0)
摘要: await page.evaluateOnNewDocument('''() => { Object.defineProperty(navigator, 'webdriver', { get: () => undefined }) } ''') 借用青南大佬的 未闻的code 阅读全文
posted @ 2021-01-12 13:14 阿磊小哥哥呀 阅读(130) 评论(0) 推荐(0)
摘要: p_list = html.xpath("//div[@class='content']/p[1]") for p in p_list: print(p.xpath('string(.)').strip()) 阅读全文
posted @ 2020-12-18 11:57 阿磊小哥哥呀 阅读(1126) 评论(0) 推荐(1)
摘要: "npm install node-jsencrypt" function juyi(usr) { decrypt = new JSEncrypt() decrypt.setPrivateKey("key") var decryptMsg = decrypt.encrypt(usr) return 阅读全文
posted @ 2020-12-04 13:57 阿磊小哥哥呀 阅读(369) 评论(0) 推荐(0)
摘要: data = pd.DataFrame(pd.read_excel(path)) data._series.keys() # 获取第一行的name,以下情况最适用数据格式不规范 # 获取一列中不为空 data.loc[:, ~data.columns.str.contains('^Unnamed') 阅读全文
posted @ 2020-10-20 13:33 阿磊小哥哥呀 阅读(105) 评论(0) 推荐(0)
摘要: https://npm.taobao.org/mirrors/chromium-browser-snapshots/ 阅读全文
posted @ 2020-10-07 11:36 阿磊小哥哥呀 阅读(147) 评论(0) 推荐(0)
摘要: python -m http.server 8000 阅读全文
posted @ 2020-10-07 11:06 阿磊小哥哥呀 阅读(161) 评论(0) 推荐(0)
摘要: Python实现定时器,任意时间、方式执行 pip install apscheduler from apscheduler.schedulers.blocking import BlockingScheduler from datetime import datetime # 输出时间 def j 阅读全文
posted @ 2020-09-19 13:51 阿磊小哥哥呀 阅读(163) 评论(0) 推荐(0)
摘要: str1.encode('latin-1').decode('gbk')) str1是乱码的字符 阅读全文
posted @ 2020-09-08 11:47 阿磊小哥哥呀 阅读(1628) 评论(0) 推荐(0)
摘要: cookie_str = re.findall(r'xman_t=.*?;', cookie)[0] + re.findall(r'(cookie2=.*?);', cookie)[0] cookies = {item.split('=')[0]: item.split('=')[1] for it 阅读全文
posted @ 2020-08-27 10:34 阿磊小哥哥呀 阅读(324) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页