nodear/README.md
2023-05-23 01:13:08 +03:00

24 lines
835 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nodear
Понадобился фикс для повторного запуса
https://github.com/thedemons/opentele/pull/74/files
Создаём файл с содержимым из https://my.telegram.org/apps где username не имеет значения
```
[Telegram]
api_id = 12345678
api_hash = 999e888777ab66bf555cb44aa33a220f
username = telethon
```
Сперва надо открыть telegram сессию в десктопном приложении.
Запускаем ```python open_tele.py```
Этот скрипт из файла %USERPROFILE%\AppData\Roaming\Telegram Desktop\tdata сделает файл telethon.session
Запускаем ```python tele_reader.py```
Если всё хорошо, то появится запрос:
```Введите ссылку на канал или чат:```