A modular Python library for IPTV portal interaction.
Project description
iptvpy
iptvpy is a modular Python library for IPTV portal interaction.
Features
- Base
IPTVclass for IPTV portal - Easy to extend for other IPTV systems
- Uses
cloudscraperto bypass Cloudflare - Optional logging/export of responses
Requirements
- Python 3.x
cloudscraper
Install dependencies manually
pip install cloudscraper --upgrade
Installation
pip install iptvpy
Usage
IPTV
Core class with:
gen_jsondata()— safely extracts JSON, optionally from.jskeygen_logs()— logs responses toself.r_listand to files if requiredgen_input()— parses URL/host details and holds logic for client-side variablesgen_scraper()— initializes a Cloudflare-capable sessiongen_request()— performsGETorPOSTrequests
Subclasses like MacPortal, XtreamPortal can build on this to implement specific authentication flows and APIs.
Notes
- Has child class
MacPortal(Stalker/Ministra like portals); checksrc/MacPortal.pyand study code for usage - Planned to add child class
XtreamPortal(Xtream-Codes like portals) - Planned to write perfect README.md
License
Apache License 2.0
This library is open-source and free to use under the Apache 2.0 License.
Contributing
Contributions, suggestions, and feature requests are welcome! Feel free to submit an issue or PR.
Author
Developed by भाग्य ज्योति (Bhagya Jyoti)
Happy iptv portal-ing!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iptvpy-2.0.0.tar.gz.
File metadata
- Download URL: iptvpy-2.0.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a19031ce7202986623efe0da461a40468c1241f7076f04a50f4481846eee5bf
|
|
| MD5 |
36d29143d03854992abf1ae07d9f9806
|
|
| BLAKE2b-256 |
e9e85747ceb13ec59a26356f96b0e0b16b878ccb0237309fad5b40202547cd4f
|
Provenance
The following attestation bundles were made for iptvpy-2.0.0.tar.gz:
Publisher:
pypi.yml on BhagyaJyoti22006/iptvpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iptvpy-2.0.0.tar.gz -
Subject digest:
1a19031ce7202986623efe0da461a40468c1241f7076f04a50f4481846eee5bf - Sigstore transparency entry: 233387574
- Sigstore integration time:
-
Permalink:
BhagyaJyoti22006/iptvpy@3f88999f24a29c75decc6d075377601e768f60d0 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/BhagyaJyoti22006
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@3f88999f24a29c75decc6d075377601e768f60d0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file iptvpy-2.0.0-py3-none-any.whl.
File metadata
- Download URL: iptvpy-2.0.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4e61147b7f69016d8002055a529c75ab5f639073bbfb46cb31fa76cb27cdb8
|
|
| MD5 |
a780d4dddadeaf3e00362910d130775b
|
|
| BLAKE2b-256 |
a461e10251e69d6745c6a92aff82b142a60c84a7f02dbc0dbd4b098a91ebdae4
|
Provenance
The following attestation bundles were made for iptvpy-2.0.0-py3-none-any.whl:
Publisher:
pypi.yml on BhagyaJyoti22006/iptvpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iptvpy-2.0.0-py3-none-any.whl -
Subject digest:
ad4e61147b7f69016d8002055a529c75ab5f639073bbfb46cb31fa76cb27cdb8 - Sigstore transparency entry: 233387581
- Sigstore integration time:
-
Permalink:
BhagyaJyoti22006/iptvpy@3f88999f24a29c75decc6d075377601e768f60d0 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/BhagyaJyoti22006
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@3f88999f24a29c75decc6d075377601e768f60d0 -
Trigger Event:
release
-
Statement type: