-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# инструмент для автоматизации ответов на отзывы на маркетплейсах | ||
|
||
## поддерживаемые маркетплейсы | ||
|
||
* wildberries | ||
* ozon | ||
|
||
## использование | ||
|
||
``` | ||
usage: main.exe [-h] (--wildberries | --ozon) (--csv | --sqlite | --void) [--longsleep] [--shortsleep] [--port] | ||
[--maxanswers] [--fromstar] [--answers] | ||
программа для автоматизации отзывов на маркетплейсах | ||
optional arguments: | ||
-h, --help show this help message and exit | ||
--wildberries, -wb режим работы с wildberries | ||
--ozon, -oz режим работы с ozon | ||
--csv сохранять отзывы и ответы в csv файл | ||
--sqlite сохранять отзывы и ответы в db файл. Может быть открыт например с помощью sqlitebrowser | ||
--void не сохранять отзывы и ответы | ||
--longsleep , -s пауза перед началом обработки страницы. Нужна чтобы страница успела загрузиться. | ||
--shortsleep , -ss пауза между ответами. | ||
--port , -p дебаг порт хрома | ||
--maxanswers , -ma максимальное количество ответов | ||
--fromstar , -fs оценка с которой начинать обработку. | ||
--answers вывести примеры ответов. | ||
``` | ||
* закрыть хом. | ||
* запустить хром в debug режиме через консоль `chrome.exe --remote-debugging-port=9222` или с помощью файла startchrome.cmd. Должна быть одна вкладка. | ||
* перейти на страницу с отзывами маркетплейса. | ||
* запустить бота через командную строку или с помощью ozon.cmd или wildberries.cmd | ||
* дождаться остановки или остановить принудительно комбинацией клавишь `ctrl+c`. | ||
|
||
## генерация ответов | ||
|
||
|
||
|
||
## настройка | ||
|
||
## установка | ||
|
||
## вопросы | ||
#### почему бот вдруг перестал работать? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
main.exe -wb --void --answers | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
main.exe --ozon --shortsleep 1 --void | ||
pause |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"greetings": [ | ||
"Здравствуйте!" | ||
"Здравствуйте!", | ||
"Добрый день!" | ||
], | ||
|
||
"gratitude":[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"wildberries": { | ||
"answers": "settings/wbanswers.json", | ||
"url": "" | ||
"answers": "settings/wbanswers.json" | ||
}, | ||
"ozon": { | ||
"answers": "settings/ozanswers.json", | ||
"url": "" | ||
"answers": "settings/ozanswers.json" | ||
}, | ||
"driver_folder": "chromeDriver/", | ||
"database": "settings/comments" | ||
"database": "settings/comments", | ||
"email": "", | ||
"key" : "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"greetings": [ | ||
"Здравствуйте!" | ||
"Здравствуйте!", | ||
"Добрый день!" | ||
], | ||
|
||
"gratitude":[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
main.exe --wildberries --void | ||
pause |