Skip to content

Python script to pull up to seven days worth of EPG data directly from sky

Notifications You must be signed in to change notification settings

Plebster/sky_epg_grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

sky_epg_grab

Python script to pull up to seven days worth of EPG data directly from sky.com including the channels current name, the channel number and the current channel icon

Usage:

sky_epg_grab.py <path/filename> <number_of_days_to_grab> <tv_region>

path/filename - filename and path where to save the xml file

number_of_days_to_grab - number of days of epg to grab, 6 seems to be the maximum, pulling seven days of epg is around 20-22Mb of data

tv_region - this can by found be going to https://www.sky.com/tv-guide selecting your region in the drop down menu, once the region has loaded take a look at the url, at the end there will be the following number 4101-x where x is your region number.

Eg.

4101-1 - London HD

4101-2 - Essex HD

Prerequisites:

Python3+

cElementTree

BeautifulSoup

About

Python script to pull up to seven days worth of EPG data directly from sky

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages