Go to file
syeopite a972722fdb
Merge branch 'master' of https://github.com/syeopite/Invidious-quic-proxy
2021-05-22 15:25:56 -07:00
.gitignore Initial commit 2021-05-22 05:52:45 -07:00
LICENSE Initial commit 2021-05-22 05:52:45 -07:00
README.md Update README.md 2021-05-22 05:59:28 -07:00
main.py Merge branch 'master' of https://github.com/syeopite/Invidious-quic-proxy 2021-05-22 15:25:56 -07:00
quicclient.py Change code to prevent creating client every conn 2021-05-22 15:06:56 -07:00
requirements.txt Initial commit 2021-05-22 05:52:45 -07:00

README.md

[WIP] Quic proxy built in Python for the Invidious project.

Usage

All requests is done through POST. A data content of

{"headers": {"Content-Type": "application/json"},
"url": "https://www.youtube.com/youtubei/v1/browse?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8", 
"method": "POST", "data": {"context": {...}}

Will use HTTP/3 to query the specified URL with the specified data, method and headers.

Configuration

The port and address can be changed in config.toml, located in the default OS config location.

host = "0.0.0.0"
port = 7192