https://github.com/qqphp/automation_script_joke
通过 DeepSeek 接口获取笑话集锦,自动将写入到记事本中。
https://github.com/qqphp/automation_script_joke
Last synced: 5 months ago
JSON representation
通过 DeepSeek 接口获取笑话集锦,自动将写入到记事本中。
- Host: GitHub
- URL: https://github.com/qqphp/automation_script_joke
- Owner: qqphp
- Created: 2025-02-25T10:22:35.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-25T10:41:24.000Z (11 months ago)
- Last Synced: 2025-02-25T11:33:13.120Z (11 months ago)
- Language: Python
- Size: 1.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Python自动化脚本案例
### 通过 DeepSeek 接口获取笑话集锦,自动将写入到记事本中。
**具体需求:**
- 如果电脑中的记事本程序,处于未启动状态,监听记事本进程,让 Python 脚本程序处于等待状态。
- 如果记事本程序启动,则激活记事本窗口,当鼠标移入记事本中,发起 DeepSeek 的 API 接口请求。
- 每次请求间隔时间不低于 10 秒。
- 使用剪切板降低操作难度。
- 注意鼠标是否移入记事本,不发无效请求。
- 发起 DeepSeek 的 API 接口请求,将每次获取到的笑话内容自动写入到记事本中。
**DeepSeek提示词:**
请讲一个简短有趣的笑话,直接给出笑话内容,不要有多余的话。
**效果演示:**
