videouroki-ans/README.MD
2024-09-16 08:15:00 +00:00

35 lines
1.1 KiB
Markdown
Raw Permalink 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.

# Генератор тестовых ответов для сайта videouroki.net
## Как использовать
1. Tampermonkey ([Firefox](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) | [Chrome](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en))
2. Установите [userscript](https://git.timoxa0.su/timoxa0/videouroki-ans/raw/branch/main/VUT.user.js)
3. Войдите в личный кабинет ученика и скопируйте ID теста
4. Склонируйте данный репозиторий
5. Перейдите в папку со скриптом
6. Создайте виртуальное окружение
```
python -m venv venv
```
7. Активируйте виртуальное окружение
Linux/macOS:
```
source venv/bin/activate
```
Windows (Powershell):
```
venv\Scripts\activate.ps1
```
Windows (cmd.exe):
```
venv\Scripts\activate.bat
```
8. Установите зависимости
```
pip install -r requirements.txt
```
9. Запустите скрипт
```
python parse.py
```
10. Введите ID теста и нажмите Enter