mirror of
https://github.com/iv-org/youtube-trusted-session-generator.git
synced 2025-02-17 03:57:40 +00:00
YouTube trusted session generator
Description
This script will output two parameters: po_token and visitor_data. Needed for passing YouTube checks in Invidious.
Tutorial without Docker
- Create a new virtualenv:
virtualenv venv
- Activate the virtualenv:
source venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
- Run the script:
python index.py
- Copy paste the values of these the two parameters (po_token and visitor_data) in config.yaml
po_token: XXX visitor_data: XXX
- Restart Invidious.
Tutorial with Docker
- Run the script:
docker run quay.io/invidious/youtube-trusted-session-generator
- Copy paste the values of these the two parameters (po_token and visitor_data) in config.yaml
po_token: XXX visitor_data: XXX
- Restart Invidious.
Languages
Python
90.8%
Shell
4.9%
Dockerfile
4.3%