Eng/Ru
Review Parser Flam - a script for collecting new reviews about companies from the Flamp.ru website and sending them to the telegram channel.
- Review link
- Review author
- Date and time of the recall
- Review rating (from 1 to 5)
- Review text
New reviews are recorded in an Excel file and sent to the telegram channel as a post.
- Enter TOKEN for telegram bot (parser.py -> line 19), how to get TOKEN you can read here.
- Enter the chat telegram id (parser.py -> line 20), how to get the chat id is described below.
- Looking for @username_to_id_bot through the Telegram search bar.
- Launch the bot by pressing the "Start" button.
- We go to the chat or group, information about which we want to know.
- Copy the link to the chat. It can be found in the chat / group settings by clicking on the "Invite" button. The link will be at the top of the window that opens.
- Next, we return to our bot and send it the link we copied earlier.
- In the response message, we get the basic data about the chat/group. The bottom line will be ID.
- Set the time to receive updates (parser.py -> line 92, default is: every day at 12:00)
- Specify search city (main.py -> line 14)
- Run parser.py
- Enter the name of a company that is in the flamp.ru database, if there is no such company, the script will search for reviews on companies similar in name
- Ссылка на отзыв
- Автор отзыва
- Дата и время отзыва
- Рейтинг отзыва (от 1 до 5)
- Текст отзыва
- Ввести TOKEN для телеграмм бота (parser.py -> строка 19), как получить TOKEN можно почитать тут.
- Ввести id телеграмм чата (parser.py -> строка 20), как получить id чата расписано ниже.
- Ищем @username_to_id_bot через поисковую строку Telegram.
- Запускаем бот нажатием кнопки «Начать».
- Заходим в чат или группу, информацию о которой хотим узнать.
- Копируем ссылку на чат. Её можно найти в настройках чата/группы при нажатии на кнопку «Пригласить». Ссылка будет находиться в верхней части открывшегося окна.
- Далее возвращаемся к нашему боту и отправляем ему скопированную ранее ссылку.
- В ответном сообщении получаем основные данные о чате/группе. В нижней строке будет ID.
- Установить время для получения обновлений(parser.py -> строка 92, по умолчанию установлено: каждый день в 12:00)
- Указать город поиска (main.py -> строка 14)
- Запустить parser.py
- Введите название компании, которая есть в базе flamp.ru, если такой компании нет, скрипт будет искать отзывы на похожие по названию компании
How to get chat id
To get the Telegram ID of a public chat or group, use the @username_to_id_bot bot. Step-by-step instruction:Review Parser Flam - скрипт для сбора новых отзывов о компаниях c сайта Flamp.ru и отправка на телеграмм канал.
Новые отзывы записываются в Excel файл и отправляются на телеграмм канал в виде поста.