add one required step for tutorial without docker

This commit is contained in:
Emilien Devos 2024-07-20 10:44:33 +02:00
parent 48f25566fa
commit 0cf4c40626

View file

@ -5,16 +5,17 @@
This script will output two parameters: po_token and visitor_data. Needed for passing YouTube checks in Invidious.
## Tutorial without Docker
1. Create a new virtualenv: `virtualenv venv`
2. Activate the virtualenv: `source venv/bin/activate`
3. Install the dependencies: `pip install -r requirements.txt`
4. Run the script: `python index.py`
5. Copy paste the values of these the two parameters (po_token and visitor_data) in config.yaml
1. Install Chromium or Google Chrome.
2. Create a new virtualenv: `virtualenv venv`
3. Activate the virtualenv: `source venv/bin/activate`
4. Install the dependencies: `pip install -r requirements.txt`
5. Run the script: `python index.py`
6. Copy paste the values of these the two parameters (po_token and visitor_data) in config.yaml
```
po_token: XXX
visitor_data: XXX
```
6. Restart Invidious.
7. Restart Invidious.
## Tutorial with Docker
1. Run the script: `docker run quay.io/invidious/youtube-trusted-session-generator`