Skip to main content

LiveProxy

Build Status

LiveProxy can redirect Livestreams to your favorite player on a lot of devices.

INSTALLATION

pip as user

# Latest pip version:
python3 -m pip install --upgrade liveproxy

# Latest dev version:
python3 -m pip install --upgrade git+https://github.com/back-to/liveproxy.git

pip as root

# Latest pip version:
sudo -H python3 -m pip install --upgrade liveproxy

# Latest dev version:
sudo -H python3 -m pip install --upgrade git+https://github.com/back-to/liveproxy.git

source

git clone https://github.com/back-to/liveproxy.git
cd liveproxy
python3 setup.py install

URL-GUIDE

Tutorial

First, start LiveProxy on your system.

$ liveproxy
[main][INFO] For LiveProxy support visit https://github.com/back-to/liveproxy
[main][INFO] Starting server: 127.0.0.1 on port 53422

host and port can be changed with --host / --port

$ liveproxy --host 0.0.0.0 --port 12345
[main][INFO] For LiveProxy support visit https://github.com/back-to/liveproxy
[main][INFO] Starting server: 0.0.0.0 on port 12345

Now that LiveProxy is running, you will have to create a valid URL.

For the examples here, 53422 is used as default port.

Base64

You will need to base64 encode your used commands.

http://127.0.0.1:53422/base64/STREAMLINK-COMMANDS/

Example for streamlink https://www.youtube.com/user/france24/live best

http://127.0.0.1:53422/base64/c3RyZWFtbGluayBodHRwczovL3d3dy55b3V0dWJlLmNvbS91c2VyL2ZyYW5jZTI0L2xpdmUgYmVzdA==/

Youtube-DL

http://127.0.0.1:53422/base64/YOUTUBE-DL-COMMANDS/

Example for youtube-dl https://www.youtube.com/user/france24/live

http://127.0.0.1:53422/base64/eW91dHViZS1kbCBodHRwczovL3d3dy55b3V0dWJlLmNvbS91c2VyL2ZyYW5jZTI0L2xpdmU=/

LiveProxy-Command

LiveProxy can create this URL automatically.

Create a new file with your commands.

#EXTM3U
#EXTINF:-1,Arte FR
streamlink https://www.arte.tv/fr/direct/ 720p,720p_alt,best
#EXTINF:-1,France24
streamlink https://www.youtube.com/user/france24/live best
#EXTINF:-1 tvg-id="EuroNews" tvg-name="EuroNews",Euronews
streamlink https://www.euronews.com/live best
#EXTINF:-1,France24
youtube-dl https://www.youtube.com/user/france24/live

For this example the filename is example.m3u

liveproxy --file example.m3u

It will create a new file example.m3u.new with valid URLs, only lines with streamlink, youtube-dl or youtube_dl at the start will be changed.

#EXTM3U
#EXTINF:-1,Arte FR
http://127.0.0.1:53422/base64/c3RyZWFtbGluayBodHRwczovL3d3dy5hcnRlLnR2L2ZyL2RpcmVjdC8gNzIwcCw3MjBwX2FsdCxiZXN0/
#EXTINF:-1,France24
http://127.0.0.1:53422/base64/c3RyZWFtbGluayBodHRwczovL3d3dy55b3V0dWJlLmNvbS91c2VyL2ZyYW5jZTI0L2xpdmUgYmVzdA==/
#EXTINF:-1 tvg-id="EuroNews" tvg-name="EuroNews",Euronews
http://127.0.0.1:53422/base64/c3RyZWFtbGluayBodHRwczovL3d3dy5ldXJvbmV3cy5jb20vbGl2ZSBiZXN0/
#EXTINF:-1,France24
http://127.0.0.1:53422/base64/eW91dHViZS1kbCBodHRwczovL3d3dy55b3V0dWJlLmNvbS91c2VyL2ZyYW5jZTI0L2xpdmU=/

You can also use --file-output for a specified new file, but be careful don't overwrite any important files.

liveproxy --file example.m3u --file-output my_file.m3u

Metadata

Release files for liveproxy 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for liveproxy 2.0.0
File Size Uploaded Provenance Actions
liveproxy-2.0.0.tar.gz 8.9 kB Without provenance Details for liveproxy-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for liveproxy 2.0.0
File Interpreter ABI Platform Actions
liveproxy-2.0.0-py3-none-any.whl Python 3 none any Details for liveproxy-2.0.0-py3-none-any.whl

Total release size: 17.4 kB

Release files / liveproxy-2.0.0.tar.gz

Download URL liveproxy-2.0.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f663cfcdb46653f3972e5bbcb744cf5e385324a8204c814a10bae84ecccbcebc
BLAKE2b-256 checksum
How to use checksums
21e4723b8e29147f3eb8f174392015ab77bde90f38bd4d42ab258ff551909eb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / liveproxy-2.0.0-py3-none-any.whl

Download URL liveproxy-2.0.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc6978793f1934d6931e18dd87038c3c83d62746021144bfc02b0a9685526474
BLAKE2b-256 checksum
How to use checksums
dcc2b9d02e6fd5846e606e2753e12304b92b69b29b14c12aa64d3cbbe0627cf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Security for liveproxy 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page