Code Monkey home page Code Monkey logo

xiaohongshu's Introduction

小红书自动化

部署

先决条件

  • 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 自动登陆

注意事项

使用图文上传时

当需要上传多个图片时,每个图片路径使用英文逗号 ',' 分隔!

xiaohongshu's People

Contributors

luckytime1025 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.