A python version of the neterra proxy java app written by @sgloutnikov
This is a Python version of the neterra proxy java app written by @sgloutnikov.
NeterraProxy is an on-demand m3u8 playlist/playback daemon for Neterra.tv, running on Python (2.7.x).
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.
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).
- Install the Python package pip install neterraproxy.
- 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.
- Leave the proxy application running in the terminal. Ctrl + C will terminate NeterraProxy.
- Use the following URLs to connect NeterraProxy with your favorite IPTV player:
Run as Linux Service
- Install the package as per the instruction above
- Download the netteraproxy.service unit file from here
- 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'
- Copy the unit file in /lib/systemd/system
- Start the service with sudo systemctl start neterraproxy.service
- Check the status with sudo systemctl status neterraproxy.service and verify the proxy functions properly
- Enable the service to start with the OS sudo systemctl enable neterraproxy.service
- @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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size neterraproxy-0.1.3-py3-none-any.whl (12.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size neterraproxy-0.1.3.tar.gz (10.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for neterraproxy-0.1.3-py3-none-any.whl