上一页 1 2 3 4 5 6 7 8 ··· 39 下一页
摘要: 步骤 pip install playwright playwright install playwright install-deps 若弹出这个 参考:https://www.cnblogs.com/code3/p/18458533 解决 tip 但是貌似有2s的延迟。。 阅读全文
posted @ 2024-10-12 10:46 __username 阅读(137) 评论(0) 推荐(0)
摘要: playwright自动登录获取cookie/ck 有些登录逆向起来比较麻烦,就用了自动化 import time import json import random from playwright.sync_api import Playwright, sync_playwright, expect # https://xxxx.edu.cn/ap 阅读全文
posted @ 2024-10-11 16:42 __username 阅读(501) 评论(0) 推荐(0)
摘要: 解决 关闭这个连接,然后重新连接即可。 阅读全文
posted @ 2024-10-11 15:42 __username 阅读(120) 评论(0) 推荐(0)
摘要: import datetime delta_day = 1 day = datetime.date.today() + datetime.timedelta(days=0+delta_day) print(day) # output:2024-10-08 阅读全文
posted @ 2024-10-07 19:40 __username 阅读(15) 评论(0) 推荐(0)
摘要: import schedule import time def task(): print("任务启动了!") # 安排任务在16:59:59运行 schedule.every().day.at("16:59:59").do(task) while True: schedule.run_pendin 阅读全文
posted @ 2024-10-06 12:20 __username 阅读(38) 评论(0) 推荐(0)
摘要: 推送消息到wx 基本代码 注意: import requests APPTOEKN = "AT_xxxxxxxxxxxxxxxxxxxxxxxxxx" UIDS = [ "UID_xxxxxxxxxxxxxxxxxxxxx", ] def send_message(msg,summary="test 阅读全文
posted @ 2024-10-03 12:21 __username 阅读(42) 评论(0) 推荐(0)
摘要: 查找哪个进程占用了端口: 使用 lsof 或 netstat 命令来查找哪个进程占用了特定端口。例如,如果想查找占用端口 8080 的进程,可以使用以下命令: 使用 sudo lsof -i :8080 或 sudo netstat -tulpn | grep :8080 这些命令将显示占用指定端口 阅读全文
posted @ 2024-09-26 11:04 __username 阅读(29) 评论(0) 推荐(0)
摘要: 基本操作 可以编辑,查看日志,执行测试等等 阅读全文
posted @ 2024-09-26 10:31 __username 阅读(178) 评论(0) 推荐(0)
摘要: eg json.loads(response.text) response.text是json字符串 反之,用dumps 阅读全文
posted @ 2024-09-23 09:12 __username 阅读(9) 评论(0) 推荐(0)
摘要: 问题截图 解决 手贱把这个禁用了(打开就行) 其它参考 https://stackoverflow.com/questions/69394001/how-can-i-fix-kex-exchange-identification-read-connection-reset-by-peer 其它(vn 阅读全文
posted @ 2024-09-13 09:28 __username 阅读(116) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 39 下一页