This is a generator for getting a session that passes all the checks from YouTube side
Go to file
2024-07-20 10:42:31 +02:00
.github/workflows push working script 2024-07-12 00:49:34 +02:00
docker/scripts builtin a x11 environment in docker 2024-07-20 10:42:31 +02:00
.gitignore push working script 2024-07-12 00:49:34 +02:00
Dockerfile builtin a x11 environment in docker 2024-07-20 10:42:31 +02:00
index.py builtin a x11 environment in docker 2024-07-20 10:42:31 +02:00
LICENSE Add LICENSE 2024-07-12 00:55:14 +02:00
README.md push working script 2024-07-12 00:49:34 +02:00
requirements.txt push working script 2024-07-12 00:49:34 +02: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

  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
    po_token: XXX
    visitor_data: XXX
    
  6. Restart Invidious.

Tutorial with Docker

  1. Run the script: docker run quay.io/invidious/youtube-trusted-session-generator
  2. Copy paste the values of these the two parameters (po_token and visitor_data) in config.yaml
    po_token: XXX
    visitor_data: XXX
    
  3. Restart Invidious.