mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-08-07 05:38:26 +00:00
Add Generate a po_token and visitor_data for inv.nadeko.net
parent
87897a0be7
commit
f74498574a
29
Generate-a-po_token-and-visitor_data-for-inv.nadeko.net.md
Normal file
29
Generate-a-po_token-and-visitor_data-for-inv.nadeko.net.md
Normal file
@ -0,0 +1,29 @@
|
||||
`po_token` and `visitor_data` gets revoked after really fast making Invidious fail with `This content isn't available, try again later.` I did a workaround to allow users supply their own `po_token` and `visitor_data` into preferences. This works really well for now :b
|
||||
|
||||
# **NOTE: THIS IS A WORKAROUND ONLY FOR MY INSTANCE, DO NOT REPORT ANY ISSUES TO https://github.com/iv-org/invidious/issues IF THIS DOESN'T WORK FOR YOU!**
|
||||
|
||||
|
||||
# Linux
|
||||
|
||||
## Tutorial without Docker
|
||||
1. Install Chromium or Google Chrome.
|
||||
2. Clone `https://github.com/iv-org/youtube-trusted-session-generator` and open a terminal on it
|
||||
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 https://inv.nadeko.net/preferences
|
||||
|
||||
## 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 https://inv.nadeko.net/preferences
|
||||
|
||||

|
||||
|
||||
# Windows
|
||||
|
||||
No idea. I don't use Windows, but if you have python installed just follow the instructions from [Tutorial without Docker](#Tutorial without docker)
|
||||
|
||||
# MacOS
|
||||
|
||||
Same, I don't use MacOS, but if you have python installed just follow the instructions from [Tutorial without Docker](#Tutorial without docker)
|
Loading…
Reference in New Issue
Block a user