Skip to main content

NeterraProxy

This is a Python version of the neterra proxy java app written by @sgloutnikov.

What?

NeterraProxy is an on-demand m3u8 playlist/playback daemon for Neterra.tv, running on Python (2.7.x).

Why?

Have the freedom to watch on your desired IPTV player or TV (Perfect Player, Kodi IPTV Simple, Android Live Channels, GSE Smart IPTV Player, etc). Play links issued by Neterra expire after 12 hours to prevent abuse. Traditional playlist generators need to be run again in order to generate new links. This is not the case for NeterraProxy.

How?

NeterraProxy generates a specialized playlist that points to itself rather than Neterra. When NeterraProxy receives a playback request it determines the context of the request and responds with a 301 redirect to a valid corresponding Neterra play link. It automatically re-authenticates if the session has expired.

Electronic Program Guide (EPG)

The application has a built-in scheduler that downloads an XMLTV file with the program guides for the most of the offered by Neterra.tv channels. The scheduler runs every 4 hours. Please note that the application does not perform the download on start - you need to keep it running for 4 hours. The xmltv file is downloaded in the specified data directory (see the section Instructions).

Instructions

  1. Install the Python package pip install neterraproxy.
  2. Start the application with python -m neterraproxy your_nettera_username your_nettera_password the_proxy_data_directory
    • Active subscription for nettera.tv is required for the provided above user.
    • The script data directory is used to store the proxy log file and the xmltv epg file.
  3. Leave the proxy application running in the terminal. Ctrl + C will terminate NeterraProxy.
  4. Use the following URLs to connect NeterraProxy with your favorite IPTV player:
    • Playlist URL: http://localhost:8080/playlist.m3u8
    • EPG URL: http://localhost:8080/epg.xml

Run as Linux Service

  1. Install the package as per the instruction above
  2. Download the netteraproxy.service unit file from here
  3. Edit the file and provide your username, password and data directory in the line Environment='ARGUMENTS=-m neterraproxy your_neterra_username your_neterra_password the_proxy_data_directory'
  4. Copy the unit file in /lib/systemd/system
  5. Start the service with sudo systemctl start neterraproxy.service
  6. Check the status with sudo systemctl status neterraproxy.service and verify the proxy functions properly
  7. Enable the service to start with the OS sudo systemctl enable neterraproxy.service

Acknowledgements

  • @sgloutnikov for his Java proxy and the answers during the development of the Python version
  • Kodi Fan Forum BG for collecting and hosting the XMLTV EPG file

Release files for neterraproxy 0.3.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 neterraproxy 0.3.0
File Size Uploaded
neterraproxy-0.3.0.tar.gz 11.5 kB Details

Built distribution (wheel)

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

Total release size: 23.0 kB

Release files / neterraproxy-0.3.0.tar.gz

Download URL neterraproxy-0.3.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fed3af747430bc50254737f8dc66e3bd627778bcf825dceb3ae31ce1ae62d0d7
BLAKE2b-256 checksum
How to use checksums
a66d570315e626d031a907eae0bc96887a0f15d2a76840cf6ef66057b8baa8fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / neterraproxy-0.3.0-py3-none-any.whl

Download URL neterraproxy-0.3.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d8a1b332f313082d0555baf56874e3b17664d6c2ce642ad76b0dafa24aa5056
BLAKE2b-256 checksum
How to use checksums
cf5dfca0f1ae9853bfdac44b52b00572e6abf06754c6e7d5ef24a83a26cbbc36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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