高效码农

Step-by-Step Guide to Configuring Parameters for xhs_ai_publisher

xhs_ai_publisher

Project Overview

xhs_ai_publisher is an automation tool specifically designed for publishing articles on the Xiaohongshu platform. This project combines a graphical user interface with automation scripts, leveraging large model technology to generate content. It automates browser login and article publishing, aiming to simplify the content creation and publishing process.

Features

Main Modules

easy_ui.py

This module uses tkinter to build a graphical user interface with the following features:

write_xiaohongshu.py

This module uses selenium to perform automated operations on the Xiaohongshu platform, including:

xiaohongshu_img.py

This module handles interactions with the large model interface, generating article titles and content, and retrieving URLs for relevant images.

Installation and Usage

  1. Install Dependencies

    Ensure that Python 3.12 is installed, then run:

    pip install -r requirements.txt
  2. Configure Parameters

    Modify the login phone number and other configuration options in write_xiaohongshu.py.

  3. Run the Program

    Launch the user interface:

    python easy_ui.py
  4. Usage Workflow

    • After launching the program, enter your phone number to log into your Xiaohongshu account.
    • Input keywords or descriptions for the content you want to generate, then click "Generate Content."
    • The program will automatically generate article titles and content and download relevant images.
    • Preview the generated content and images, confirm their accuracy, and click "Preview and Publish" to publish the article.

Notes

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »