https://github.com/sdhzdmzzl/iptv_channel_scanner_linux
scan iptv channel in linux
https://github.com/sdhzdmzzl/iptv_channel_scanner_linux
channel iptv multicast
Last synced: 3 months ago
JSON representation
scan iptv channel in linux
- Host: GitHub
- URL: https://github.com/sdhzdmzzl/iptv_channel_scanner_linux
- Owner: sdhzdmzzl
- Created: 2019-02-26T02:32:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T01:35:57.000Z (over 6 years ago)
- Last Synced: 2024-08-07T18:29:27.718Z (about 1 year ago)
- Topics: channel, iptv, multicast
- Language: C++
- Size: 10.7 KB
- Stars: 94
- Watchers: 1
- Forks: 33
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iptv_channel_scanner_linux
原理:
构造igmp包,然后使用libpcap抓包,获取组播地址和端口。
to compile it:
g++ -g -o iptvscanner iptvscanner.cpp -lpcap
usage:
./iptvscanner 239.3.1.1 239.3.1.254
todo:
save m3u playlist
if you don't scan any channel,try to increase timeout by changeing usleep(150000) to sleep(1) or sleep(2)