Xiaohongshu
小红书自动化,自动登录、可选择Cookie登录、支持上传图文、视频并自动发布
Install / Use
/learn @LuckyTime1025/XiaohongshuREADME
小红书自动化
部署
先决条件
- Python 3.11.1
- 下载 Firefox 提供的 WebDriver
克隆项目
git clone https://github.com/LuckyTime1025/xiaohongshu.git
进入项目目录
cd xiaohongshu
创建虚拟环境
python -m venv venv
激活虚拟环境
.\venv\Scripts\activate
安装 Pypi 依赖
pip install -r requirements.txt
使用
运行项目
python main.py
项目启动后会先检测
cookies.json中的Cookie是否有效,如果没有该文件或Cookie失效,则使用手机号接收验证码登陆,否则使用Cookie自动登陆
注意事项
使用图文上传时
当需要上传多个图片时,每个图片路径使用英文逗号 ',' 分隔!
Related Skills
node-connect
330.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
330.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.3kCommit, push, and open a PR
