Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

HTTP/3 proxy built in Python for the Invidious project.

License

Notifications You must be signed in to change notification settings

iv-org/Invidious-quic-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quic proxy built in Python for the Invidious project.

Installation

  1. Clone the repository
  2. Create a python virtual environment
  3. Install dependencies through pip pip install -r requirements.txt

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 address to listen on 
listen = "0.0.0.0:7192"
# It also supports UNIX Sockets!
# listen = "/tmp/quicproxysocket"

# Amount of workers to process quic requests
open_connections = 5

About

HTTP/3 proxy built in Python for the Invidious project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages