World LiveTV 的自动 m3u 列表
A GitHub repository that automatically collects, filters, and exports live TV streaming links for Country/Category wise using GitHub Actions. This project fetches M3U playlists from multiple sources, removes duplicates, verifies active links, and exports them into various formats under the LiveTV/Country Name/ directory.
LiveTV.m3u: Standard M3U playlist.LiveTV.txt: Human-readable text format with detailed channel info.LiveTV.json: Structured JSON with channel metadata.LiveTV: Custom JSON format without extension, designed for easy integration.LiveTV.m3uStandard M3U playlist format:
#EXTM3U
#EXTINF:-1 tvg-logo="https://i.imgur.com/VQVr4Nk.png" group-title="Entertainment",Adventure TV
http://109.233.89.170/Adventure_HD/index.m3u8LiveTV.txtReadable text format:
Group: Entertainment
Name: Adventure TV
URL: http://109.233.89.170/Adventure_HD/index.m3u8
Logo: https://i.imgur.com/VQVr4Nk.png
Source: https://example.com/source.m3u
--------------------------------------------------LiveTV.jsonStructured JSON with timestamp:
{
"date": "2025-03-25 13:30:00",
"channels": {
"Entertainment": [
{
"name": "Adventure TV",
"logo": "https://i.imgur.com/VQVr4Nk.png",
"group": "Entertainment",
"source": "https://example.com/source.m3u",
"url": "http://109.233.89.170/Adventure_HD/index.m3u8"
}
]
}
}LiveTV (Custom Format)Custom JSON list without extension:
[
{
"name": "Adventure TV",
"type": "Entertainment",
"url": "http://109.233.89.170/Adventure_HD/index.m3u8",
"img": "https://i.imgur.com/VQVr4Nk.png"
}
]bugsfreeweb/LiveTVCollector).Clone or Fork:
git clone https://github.com/bugsfreeweb/LiveTVCollector.git
cd LiveTVCollectorCustomize Sources (Optional):
BugsfreeMain/Country Name.py to update the source_urls list with additional CountryName-specific M3U sources.Push Changes:
git add .
git commit -m "Initial setup or source update"
git push origin mainVerify Workflow:
Source Fetching:
requests with streaming to handle large files.Processing:
Exporting:
LiveTV/Country Name/.Automation:
BugsfreeMain/Country Name.py every 8 hours (UTC: 00:00, 08:00, 16:00 ≈ IST: 05:30, 13:30, 21:30).GITHUB_TOKEN.Managed by GitHub Actions:
requests: For fetching M3U and HTML content.pytz: For Mumbai timezone timestamps.beautifulsoup4: For HTML parsing.Installed in the workflow:
pip install requests pytz beautifulsoup4Empty Files: Check the Actions logs for errors:
#EXTINF: followed by URL).timeout in check_link_active.Permissions Error: Ensure permissions: contents: write is in Country Name.yml.
Logs: View detailed logs in the "Actions" tab to diagnose issues.
Feel free to:
BugsfreeMain/CountryName.py.This project is open-source and available under the MIT License (add a LICENSE file if desired).
This project is intended solely for educational and research purposes. It aggregates publicly available streaming links from various sources on the internet for convenience and does not host, distribute, or provide any streaming content itself. The maintainers of this repository are not affiliated with the content providers or the streams listed in the exported files.
By using this repository or its generated files, you acknowledge and agree to these terms.
暂无开放 Issues,或尚未同步最近议题。