Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Script EPG Grabber from Rytec sources

trelter

Extended Member
Ext. Member
Joined
Oct 5, 2019
Messages
5
Reaction score
7
Points
11
Location
Germany
Hi guys,
I made a script that merge all epg sources into one single output.

The script can run in background on Ubuntu and you can link the single output to your devices or your panel.

Following script will:
1) download epg from rytec sources (for example: Italy / Germany / Spain)
2) will merge downloaded files in all-in-one file
3) will compress it in *.xml.gz format

Obviously you can change it according to your needs: can change output format or can publish your output file to a webserver.

Bash:
#!/bin/bash

BASE_FOLDER='/root/epg/'
XZ_FOLDER='/root/epg/xz' #tmp path to download xz

rm $XZ_FOLDER/*

#base_url="http://www.xmltvepg.nl"
base_url="http://www.vuplus-community.net/rytec"
#base_url="http://rytecepg.ipservers.eu/epg_data"

#Italy
wget $base_url/rytecIT_Basic.xz -O $XZ_FOLDER/rytecIT_Basic.xz
wget $base_url/rytecIT_Sky.xz -O $XZ_FOLDER/rytecIT_Sky.xz
wget $base_url/rytecIT_SportMovies.xz -O $XZ_FOLDER/rytecIT_SportMovies.xz

#Germany
wget $base_url/rytecDE_Basic.xz -O $XZ_FOLDER/rytecDE_Basic.xz
wget $base_url/rytecDE_Common.xz -O $XZ_FOLDER/rytecDE_Common.xz
wget $base_url/rytecDE_SportMovies.xz -O $XZ_FOLDER/rytecDE_SportMovies.xz

#Spain
wget $base_url/rytecES_Basic.xz -O $XZ_FOLDER/rytecES_Basic.xz
wget $base_url/rytecES_Misc.xz -O $XZ_FOLDER/rytecES_Misc.xz
wget $base_url/rytecES_SportMovies.xz -O $XZ_FOLDER/rytecES_SportMovies.xz

#Italy
unxz $XZ_FOLDER/rytecIT_Basic.xz
unxz $XZ_FOLDER/rytecIT_Sky.xz
unxz $XZ_FOLDER/rytecIT_SportMovies.xz

#Germany
unxz $XZ_FOLDER/rytecDE_Basic.xz
unxz $XZ_FOLDER/rytecDE_Common.xz
unxz $XZ_FOLDER/rytecDE_SportMovies.xz

#Spain
unxz $XZ_FOLDER/rytecES_Basic.xz
unxz $XZ_FOLDER/rytecES_Misc.xz
unxz $XZ_FOLDER/rytecES_SportMovies.xz

#Italy - Live
tv_merge -i $XZ_FOLDER/rytecIT_Basic -m $XZ_FOLDER/rytecIT_Sky -o $XZ_FOLDER/rytecIT_BasicSky
tv_merge -i $XZ_FOLDER/rytecIT_BasicSky -m $XZ_FOLDER/rytecIT_SportMovies -o $XZ_FOLDER/rytecIT_FullLive

#Germany - Live
tv_merge -i $XZ_FOLDER/rytecDE_Basic -m $XZ_FOLDER/rytecDE_Common -o $XZ_FOLDER/rytecDE_BasicCommon
tv_merge -i $XZ_FOLDER/rytecDE_BasicCommon -m $XZ_FOLDER/rytecDE_SportMovies -o $XZ_FOLDER/rytecDE_FullLive

#Spain - Live
tv_merge -i $XZ_FOLDER/rytecES_Basic -m $XZ_FOLDER/rytecES_Misc -o $XZ_FOLDER/rytecES_BasicMisc
tv_merge -i $XZ_FOLDER/rytecES_BasicMisc -m $XZ_FOLDER/rytecES_SportMovies -o $XZ_FOLDER/rytecES_FullLive

#IT/DE/ES - Live
tv_merge -i $XZ_FOLDER/rytecIT_FullLive -m $XZ_FOLDER/rytecDE_FullLive -o $XZ_FOLDER/rytecITDE_FullLive
tv_merge -i $XZ_FOLDER/rytecITDE_FullLive -m $XZ_FOLDER/rytecES_FullLive -o $XZ_FOLDER/rytecITDEES_FullLive

cp $XZ_FOLDER/rytecITDEES_FullLive guide.xml
gzip guide.xml


Software needed
TV Merge: http://manpages.ubuntu.com/manpages/xenial/man1/tv_merge.1p.html
Gzip


Hoping to be helpful :geek:
(A like is appreciated ?)
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top