AI explosive article monetization script: nanny-level operation tutorial for beginners with zero basics - updated iteration

Script function: This script is mainly used by students in the auxiliary training camp. The script can increase the efficiency of posting.

The script has now been updated to 9 versions. The purpose is to make it easier for everyone to operate and use.

I have shared the practical tutorial on the monetization project of AI hot article traffic master (advertising) before. If you are interested, you can read it again.

AI explosive article traffic master nanny-level tutorial 3.0 + script writing tutorial (free your hands)

In addition, the nanny-level tutorial for installing the script is also shared with everyone for free. Many students have installed it in the past few days. The specific tutorial can be found here:

AI explosive article writing script configuration tutorial

There are also some newbies who can't figure it out and need remote assistance from me to install them. I charge them some hard work fees, but they still have some problems during use.

Therefore, this article is mainly a nanny-level tutorial for novices with zero basic knowledge. Masters do not need to read it.

Later updated versions will be placed in this original document and need to be saved:

Detailed tutorials and frequently asked questions on the use of AI explosive scripts

Script: Taojin Pavilion title + chatglm

V0.0.9:

After configuring, click Save and start the script.

Update point:

Add management tools to make configuration more convenient

Start method:

Under the program directory:

Update method:

Download the latest AIbaowen009.zip and extract it to your local computer

Just copy the config.ini and prompt.json files and title folder that you configured locally.

Or you can reconfigure them all.

V0.0.7:

How to run the script:

Instructions:

First configure the instructions in prompt.json. Multiple instructions are supported. The program will randomly obtain an instruction for creation each time.

Local mode - find it yourselfTitle:

Collect the titles you want to create and place them in the root directory of the program. The file name is arbitrary and the file suffix is ​​.txt.

Just one line per title

Online mode - automatic collection of titles:

Go to Taojin Pavilion, select the category, sorting, time, copy the link, and configure it into BaowenUrl in config.ini

Modify TotalPage. For example, if you write 100, you will start creating from pages 1-100.

What are the advantages and disadvantages of the two versions? Here’s a summary:

The advantage of the online mode is that the layout is simple, and you just need to update the link every time you run an article. The disadvantage is that there are many people using this software, and they all have the same title. The articles written by the same AI are all similar, leading to serious homogeneity. , the explosion rate is not high.

The artificial local title mode is to use AI to generate headlines of popular articles, and then use software to extract and run them. The disadvantage is that it takes about 10 minutes a day to generate hundreds of titles and import them locally. The advantage is that the titles are all generated by oneself, and the homogeneity is low. .

Configure AI login method

Important! ! ! ! important! ! ! important! ! ! ! After successful configuration, before running the script , be sure to turn off the proxy listening

The AI ​​login time limit is only one day. You need to log in once a day. Configure the Authorization and Cookie parameters in config.ini.

  1. Open the Charles packet capture tool
  2. Turn on monitoring
  3. Open the browser and enter: https://chatglm.cn/main/detail
  4. Log in to your Zhipu Qingyan account
  5. Return to charles monitoring page

Bottom: Enter chatglm in Filter to filter the listening content

Find v3/user/info

Select Contents on the right

Description As shown below, if it is red, it means you are not logged in to the AI ​​account, just log in.

6. Configure the Config.ini file

The main configuration parameters are as follows:

Authorization, Cookie, UserId Note that if UserID has been configured before, there is no need to configure it again

Open the configuration file using notepad++

Win11 computer demonstration screenshot, win10, win7 right click and select notepad++ to edit

The entire configuration demonstration video is rough, please forgive me:

This content cannot be displayed outside Feishu documents at the moment.

Configure AI writing instructions

Modify the prompt.json file in the program directory. After modification, remember to go to the online detection tool json.cn to check whether the file format is correct.

Edit method:

1. Local notepad++ editing

2. Use the online tool json.cn to edit, then copy all the contents to the local prompt.json file and replace all the contents.

Note: The local editing method is as follows. You must use notepad++ to open it.

Win11 computer demonstration screenshot, win10, win7 right click and select notepad++ to edit

rule:

1. You can write multiple or just one, the format is as in the example

2. There is no need to write the title part of the command. You can directly write the fixed format {title} and the program will replace the corresponding title.

example of a

{
    "prompts": [
        "指令1:标题是:{title},写什么类型的文章"
    ]
}

Multiple examples:

{
    "prompts": [
        "指令1:{title}",
        "写作指令2,参考标题:{title}",
        "指令3,假设你是情感文章解读专家,标题:{title}"
    ]
}

Solution to run crash:

  1. Charles software:Close proxy monitoring, and then close the charles packet capture tool

  1. Check the encoding format of config.ini

Note that you must use the notepad++ tool to edit, and the encoding must be the second one.

  1. Check whether the encoding and format of prompt.json file are correct

Encoding: must be the second UTF-8

Format check:

Copy the content of prompt.json to the json online detection tool: json.cn (click and the webpage will open to use)

The correct one will be parsed on the right:

Exception: An error message will be displayed on the right

  1. AI account login failure

Re-update Cookie and Authorization in config.ini and fill in the configuration file according to the corresponding relationship.

For details, please refer to the tutorial instructions for configuring the AI ​​login method.

  1. Ultimate troubleshooting method - not necessary

After completing the above four steps, 99% of the problems can be solved. Generally, the fifth step of troubleshooting is not needed.

First learn to read error messages:

You can see the error message as follows:

For the local title version, in the program directory, run the following startup command

Python baowenLocal.py

Automatic title version, in the program directory, run the following startup command

Python baowenAuto.py

Taking local as an example, run the following startup command

Enter the program directory and execute the corresponding py script

Open cmd

If it is not on the C drive, switch the drive letter first. If it is on the C drive or desktop, there is no need to switch the drive letter command.

For example, if I am on the D drive, the command is as follows:

D:

Cd Your program directory location, for example, mine is on drive D: D:\AIbaowen006

Then the instruction is

cd D:\AIbaowen006

Enter the following command to run the script:

python baowenLocal.py

The complete instructions are as follows:

D:

cd D:\AIbaowen006

python baowenLocal.py

common problem

1. If you use local titles, do you need to reconfigure config.ini every day?

The current login validity period for AI Writing is one day. You only need to reconfigure Auth and Cookie.

2. How to write multiple categories?

One category and one folder

Just put the corresponding prompt and title under each folder.

As an example below: If you don’t know how, you can download it and have a look.

This content cannot be displayed outside Feishu documents at the moment.

3. Where does the writing go after the script is completed?

In the program directory, a folder named after the running date of the day, for example, 2023.10.20 is 20231020

4. The generated article only has the title and no content.

It is recommended to write no more than 500 articles a day. If you write too much, AI will limit your account.

5. Chrome browser reports error when starting

Download the corresponding chrome version of the driver library program Chrome and put it in the anaconda installation directory

For example: C:\ProgramData\Anaconda3

https://registry.npmmirror.com/binary.html?path=chromedriver/

6. Error when starting the program:

Download the running environment and install it.

https://download.visualstudio.microsoft.com/download/pr/83d32568-c5a2-4117-9591-437051785f41/e75171da01b1fa5c796660dc4b96beed/windowsdesktop-runtime-6.0.23-win-x64.exe

Script download address:

Quark network disk link: https://pan.quark.cn/s/93711339e8f0

New feature plan

We will consider updating functions in the future and write them in order of priority.

  1. Save Baijiahao draft function
  2. Access gpt to write essay
  3. Simple operation interface for easy operation

Guess you like

Origin blog.csdn.net/weixin_38428126/article/details/133987985