Script generare fisier CCcam.channelinfo:
make_CCcam_channelinfo.sh
Script testat pe debian#!/bin/sh
# focus
wget -a log.txt -O web.list http://en.kingofsat.net/pack-focussat.php
awk -F '>' 'BEGIN {chan = "invalid"}
/WIDTH="15%"/ {chan = substr($3,1,length($3) - 3)}
/class="s"/ {sid = substr($2,1,length($2) - 2)
if (chan == "invalid") next
printf "0B02:000000:%x \"Focus - %s\"\n", sid , chan
chan = "invalid"}' web.list > cccam.focus
rm -f Cccam.channelinfo
cat cccam.* > Cccam.channelinfo
exit 0
Trebuie sa inlocuiti ce este cu ROSU si sa treceti optiunile voastre, de asemenea si URL http://en.kingofsat.net/pack-focussat.php
Rezultatul arata asa (o parte):
0B02:000000:78bb "Focus - MTV Dance"
0B02:000000:78bc "Focus - HBO Comedy Hungary & Czech"
0B02:000000:78bd "Focus - Daring! TV"
0B02:000000:78be "Focus - Nickelodeon Hungary"
0B02:000000:78c2 "Focus - Cinemax 2 Europe"
0B02:000000:78c3 "Focus - Blue Hustler"
0B02:000000:29 "Focus - TLC Romania"
0B02:000000:407 "Focus - Perviy Kanal Moldova"
0B02:000000:408 "Focus - Jurnal TV Moldova"
0B02:000000:409 "Focus - EuroTV Chisinau"
0B02:000000:40a "Focus - Moldova 1"
0B02:000000:40b "Focus - N4"
0B02:000000:40c "Focus - NiT TV"
0B02:000000:40d "Focus - TNT Bravo"
0B02:000000:40e "Focus - SET Eastern Europe"
0B02:000000:40f "Focus - Pro TV Chisinau"
0B02:000000:410 "Focus - RTR Planeta"
0B02:000000:411 "Focus - Dixi TV"
0B02:000000:412 "Focus - TV 7 (Moldova)"
0B02:000000:417 "Focus - Zeus TV"
0B02:000000:1e61 "Focus - Mooz HD"
---------- Post added at 13:45 ---------- Previous post was at 12:17 ----------
Pentru mai multi provideri o data
Rezultat:#!/bin/sh
# focus hello akta
wget -a log.txt -O web.list http://en.kingofsat.net/pack-focussat.php
awk -F '>' 'BEGIN {chan = "invalid"}
/WIDTH="15%"/ {chan = substr($3,1,length($3) - 3)}
/class="s"/ {sid = substr($2,1,length($2) - 2)
if (chan == "invalid") next
printf "0B02:000000:%x \"Focus - %s\"\n", sid , chan
chan = "invalid"}' web.list > cccam.focus
wget -a log.txt -O web.list http://en.kingofsat.net/pack-akta.php
awk -F '>' 'BEGIN {chan = "invalid"}
/WIDTH="15%"/ {chan = substr($3,1,length($3) - 3)}
/class="s"/ {sid = substr($2,1,length($2) - 2)
if (chan == "invalid") next
printf "0500:024f00:%x \"Akta - %s\"\n", sid , chan
printf "0500:022f00:%x \"Akta - %s\"\n", sid , chan
printf "0b00:000000:%x \"Akta - %s\"\n", sid , chan
chan = "invalid"}' web.list > cccam.akta
wget -a log.txt -O web.list http://en.kingofsat.net/pack-hellohd.php
awk -F '>' 'BEGIN {chan = "invalid"}
/WIDTH="15%"/ {chan = substr($3,1,length($3) - 3)}
/class="s"/ {sid = substr($2,1,length($2) - 2)
if (chan == "invalid") next
printf "0baa:000000:%x \"Hello - %s\"\n", sid , chan
chan = "invalid"}' web.list > cccam.hello
rm -f Cccam.channelinfo
cat cccam.* > Cccam.channelinfo
exit 0
0500:024f00:1 "Akta - U (Romania)"
0500:022f00:1 "Akta - U (Romania)"
0b00:000000:1 "Akta - U (Romania)"
0500:024f00:2 "Akta - Animal Planet Eastern Europe"
0500:022f00:2 "Akta - Animal Planet Eastern Europe"
0b00:000000:2 "Akta - Animal Planet Eastern Europe"
0500:024f00:3 "Akta - Sport.ro"
0500:022f00:3 "Akta - Sport.ro"
0b00:000000:3 "Akta - Sport.ro"
........................
0B02:000000:77ed "Focus - Extreme Sports"
0B02:000000:77ee "Focus - JimJam EMEA"
0B02:000000:77f5 "Focus - Cinemax (Hungary)"
0B02:000000:77f6 "Focus - Boomerang"
................
0baa:000000:672 "Hello - MyZen.tv"
0baa:000000:dad "Hello - FTV HD"
0baa:000000:dae "Hello - iConcert"
0baa:000000:db3 "Hello - Mezzo Live HD"
0baa:000000:db4 "Hello - Penthouse HD"
0baa:000000:3c91 "Hello - M1 - Magyar TV"
0baa:000000:3cbf "Hello - Magyar TV 2"
0baa:000000:1a91 "Hello - FilmBox Extra"
0baa:000000:1a92 "Hello - Music Plus (Hungary)"




Reply With Quote