Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo -n > iptvf.m3u
- for i in {0..10}; do
- for j in {1..254}; do
- echo -n "239.72.$i.$j:1234 ... "
- timeout 60 ffprobe "http://195.191.220.2/udp/239.72.$i.$j:1234" >/dev/null 2>&1
- res=`echo $?`
- if [ "$res" = "0" ]; then
- echo "looks interesting"
- echo "http://iptv.home-nadym.ru/udp/239.72.$i.$j:1234" >> iptvf.m3u
- else
- echo "nothing"
- fi
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement