Skip to main content

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

pmg 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

It is recommended to install the script using the above method (through pypi with pip). Doing it this way should take care of setting up a temporary environment with geckodriver for you! Feel free to give the repo a star if you enjoy it, though!

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

Plex setup

Detailed documentation for configuring plex to use this script can be found here

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!

Release files for piptv-pmg 0.2.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 piptv-pmg 0.2.0
File Size Uploaded
piptv_pmg-0.2.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piptv-pmg 0.2.0
File Interpreter ABI Platform
piptv_pmg-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / piptv_pmg-0.2.0.tar.gz

Download URL piptv_pmg-0.2.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
175f85bab08d4ce6f3e137c0f264e1a9708b4479a098f570e2a17b16822d7aa0
BLAKE2b-256 checksum
How to use checksums
02eb0bc0fe74febea58fba7cb487c8fe6ea8a6dcf0cd0e84d43ca4a8837f1d68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9

Release files / piptv_pmg-0.2.0-py3-none-any.whl

Download URL piptv_pmg-0.2.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61d180d803ef46e20a411559a8ede302278c99be237737090eaa046d9bd4a9ff
BLAKE2b-256 checksum
How to use checksums
4883f12dbe4969ddaad4a139853c3d3593c7dbfb34d3b3303822758850b9c16e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

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.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

1 release file

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