Forked from iv-org/youtube-trusted-session-generator.
This script will output two parameters: po_token and visitor_data. Needed for passing YouTube checks in cobalt, Invidious or other tools that use the po_token functionality.
po_token known as Proof of Origin Token. This is an attestation token generated by a complex anti robot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
These identity tokens (po_token and visitor_data) generated using this tool will make your entire YouTube session more easily traceable by YouTube because it is tied to a unique identifier.
docker run ghcr.io/imputnet/yt-session-generatorpo_token: XXX
visitor_data: XXX
virtualenv venvsource venv/bin/activatepip install -r requirements.txtpython potoken-generator.py --oneshotpo_token: XXX
visitor_data: XXX
In "headless: false", Chromium does not support sanboxing when it is not ran by root user.
Run the program: docker run -p 8080:8080 ghcr.io/imputnet/yt-session-generator:webserver
virtualenv venvsource venv/bin/activatepip install -r requirements.txtpython potoken-generator.pySend your requests to http://localhost:8080/token in order to obtain your po_token.
You can also force refresh the po_token in the cache by sending a request to http://localhost:8080/update.
Python
90.9%
Shell
4.9%
Dockerfile
4.3%
Forked from iv-org/youtube-trusted-session-generator.
This script will output two parameters: po_token and visitor_data. Needed for passing YouTube checks in cobalt, Invidious or other tools that use the po_token functionality.
po_token known as Proof of Origin Token. This is an attestation token generated by a complex anti robot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
These identity tokens (po_token and visitor_data) generated using this tool will make your entire YouTube session more easily traceable by YouTube because it is tied to a unique identifier.
docker run ghcr.io/imputnet/yt-session-generatorpo_token: XXX
visitor_data: XXX
virtualenv venvsource venv/bin/activatepip install -r requirements.txtpython potoken-generator.py --oneshotpo_token: XXX
visitor_data: XXX
In "headless: false", Chromium does not support sanboxing when it is not ran by root user.
Run the program: docker run -p 8080:8080 ghcr.io/imputnet/yt-session-generator:webserver
virtualenv venvsource venv/bin/activatepip install -r requirements.txtpython potoken-generator.pySend your requests to http://localhost:8080/token in order to obtain your po_token.
You can also force refresh the po_token in the cache by sending a request to http://localhost:8080/update.
Python
90.9%
Shell
4.9%
Dockerfile
4.3%