Skip to main content

Piptv M3U Generator - An M3U IPTV playlist generator using piptvs scraping logic

Project description

pmg - Piptv M3U Generator

An M3U generator for IPTV services [kodi/plex/etc.] using the same scraping logic as piptv! I provide this script and all support for it free of charge, but any donations are welcome and appreciated. They can be sent to this bitcoin address: bc1qahz93vyljhjj0fsadu2m8zdhaqdaf60gnc7y2y Thank you and enjoy!

Installation

Pgm is available on pypi. To install the script, do the following in a terminal/cmd prompt

Windows

pip install piptv_pmg

Ubuntu/Debian

python3 -m pip install piptv_pmg

This script requires geckodriver to be installed. I have included the latest 64 & 32bit geckodriver binaries for windows in the resource directory in this repo. You can also find them here. Geckodriver must be moved to a location that's within your path environment variable. To see how your path is currently configured in windows, open a cmd prompt and type the following:

echo @PATH@

Ubuntu/Debian users can use their package manager to install geckodriver. For example, in Ubuntu you would type the following in a terminal:

apt install firefox-geckodriver

Usage

To use the script to generate an M3U, simply run the script and pass the directory (including file name) you would like the M3U to be written to with the -o flag. For example

Windows

python -m piptv_pmg.pmg -o "C:\Users\Example_Person\Example_dir\example.m3u"

Ubuntu/Debian

python3 -m piptv_pmg.pmg -o /home/some_user/some_dir/example.m3u

Documentation for cross platform automation of the script, as well as some processes for use with specific IPTV services such a plex and kodi will be added shortly, we are still working on making them as clear and detailed as possible!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

piptv_pmg-0.0.8.tar.gz (2.8 MB view hashes)

Uploaded Source

Built Distribution

piptv_pmg-0.0.8-py3-none-any.whl (2.8 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page