True ChatGPT Writer

Инструкция на русском

Этот скрипт пишет статьи для WordPress используя openai апиключ.
Этот скрипт использует платную модель «gpt-4o-mini» openai.

Инструкция:
— Переименуйте «config-example.py» файл в «config.py»
— Переименуйте «input-example.csv» файл в «input.csv»
— Установите апиключ openai в файле «config.py». Создавать апиключ здесь https://platform.openai.com/settings/profile/api-keys
— Поместите ключи в файл «input.csv». Не удаляйте первую строку в этом файле — «keyword»!!!
— Откройте main.py файл в текстовом редакторе и измените переменную prompt. Замените «gambling» на вашу нишу, замените «in French» на ваш язык. Ключи в файле должны быть такого же языка.
Пример:
Ваша ниша — «landscape design», ваш язык — «Germany». Установите немецкие ключи внутри «input.csv» и измените переменную prompt «You are an experienced landscape design copywriter. You have 10 years of experience writing articles about landscape design. Please write a detailed article about ‘{row[‘keyword’]}’ in German…»
Ваша ниша — «veterinary medicine», ваш язык — «Chinese». Установите китайские ключи внутри «input.csv» и измените переменную prompt «You are an experienced veterinary medicine copywriter. You have 10 years of experience writing articles about veterinary medicine. Please write a detailed article about ‘{row[‘keyword’]}’ in Chinese…»

— Установите python. Пример для Windows OS.
Скачайте и установите python https://www.python.org/downloads/
Установите библиотеки. Откройте консоль (Win + R, введите «cmd»)
Введите в консоль команды:
c:\Python311\Scripts\pip3 install openai
c:\Python311\Scripts\pip3 install pandas
«c:\Python311\» — путь до директории с python, может быть «Python313» или «Python312», не обязательно «Python311». У меня путь к python такой «c:\Python311\»

— Запустите скрипт. Откройте консоль и введите команду:
c:\Python311\python z:\python\true-chatgpt-writer\main.py
«c:\Python311\» — путь до python
«z:\python\true-chatgpt-writer\main.py» — путь до main.py файла

— Результат будет внутри «output.csv» файла

— Импортируйте «output.csv» в ваш WordPress используя «WP All Import» плагин.

В этом примере у меня такие ключи внутри «input.csv»:
amon casino how to play
aviator slot tricks and tips
top canadian casinos 2025
pin up casino best games

И я получил такие статьи на выходе (title and body) внутри «output.csv»:
Guide Complet sur Amon Casino : Comment Jouer
Aviator Slot Tricks et Astuces : Maximisez Vos Gains !
Les Meilleurs Casinos Canadiens en 2025
Découvrez les Meilleurs Jeux de Pin Up Casino

Это не моя идея. Я добавил небольшие правки в этот скрипт https://www.blackhatworld.com/seo/method-make-your-own-paa-site-with-openai-complete-tutorial-free-python-script.1467115/

Системные требования:
— Windows OS (7, 8, 10, 11)
— Linux (не пробовал, но python поддерживает linux os)
— MacOS (не пробовал, но python поддерживает macos os)

Я сделал небольшую ошибку в моем примере — я установил «in French» в prompt, но установил ключи на английском в «input.csv». Я думаю результат будет лучше если задавать ключи на таком же языке (французском) внутри «input.csv».

Instruction in English

This script write articles for WordPress using apikey openai.
This script use paid model «gpt-4o-mini» openai.

Instruction:
— Rename «config-example.py» file to «config.py»
— Rename «input-example.csv» file to «input.csv»
— Set openai apikey inside «config.py». To create apikey visit https://platform.openai.com/settings/profile/api-keys
— Place keywords inside «input.csv» file. Do not remove first line — «keyword»!!!
— Open main.py in text editor and change prompt variable. Replace «gambling» on your niche, replace «in French» on your language. Keywords should be the same language.
For example:
Your niche — «landscape design», your language — «Germany». Set germany keywords inside «input.csv» and change prompt variable «You are an experienced landscape design copywriter. You have 10 years of experience writing articles about landscape design. Please write a detailed article about ‘{row[‘keyword’]}’ in German…»
Your niche — «veterinary medicine», your language — «Chinese». Set chinese keywords inside «input.csv» and change prompt variable «You are an experienced veterinary medicine copywriter. You have 10 years of experience writing articles about veterinary medicine. Please write a detailed article about ‘{row[‘keyword’]}’ in Chinese…»

— Install python. Instruction for Windows OS.
Download and install python https://www.python.org/downloads/
Install libraries. Open console (Win + R, type «cmd»)
Than run commands:
c:\Python311\Scripts\pip3 install openai
c:\Python311\Scripts\pip3 install pandas
«c:\Python311\» — path to yor python directory, could be «Python313» or «Python312», not «Python311». My python installation path is «c:\Python311\»

— Run script. Open console and run command:
c:\Python311\python z:\python\true-chatgpt-writer\main.py
«c:\Python311\» — path to python
«z:\python\true-chatgpt-writer\main.py» — path to main.py file

— The result will be inside the «output.csv» file

— Import «output.csv» to your WordPress site using «WP All Import» plugin.

In this case I have these keywords inside «input.csv»:
amon casino how to play
aviator slot tricks and tips
top canadian casinos 2025
pin up casino best games

And I got articles (title and body) inside «output.csv»:
Guide Complet sur Amon Casino : Comment Jouer
Aviator Slot Tricks et Astuces : Maximisez Vos Gains !
Les Meilleurs Casinos Canadiens en 2025
Découvrez les Meilleurs Jeux de Pin Up Casino

It is not mine idea. I have added a little twist to this script https://www.blackhatworld.com/seo/method-make-your-own-paa-site-with-openai-complete-tutorial-free-python-script.1467115/

System Requirements:
— Windows OS (7, 8, 10, 11)
— Linux (have not tried, but python supports linux os)
— MacOS (have not tried, but python supports macos os)

I make a litle mistake in my example — I have set «in French» prompt, but set english keywords inside «input.csv». I think will be better set french keywords inside «input.csv».

Version 1.0.0
https://mega.nz/file/76xRxaiL#wImnNw5F6pSPhX7w9KtQ9bY3XJHaxPWFPdMiX95d4b4

Virustotal:
https://www.virustotal.com/gui/file/77ae70096f08da624b8f110a4019e53cebeca4e9e26300089fe2c6a9808ae697?nocache=1

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *