You are here

Astro EPG

7 posts / 0 new
Last post
Uthall
Offline
Donator
Joined: 5 years
Last seen: 4 months
Astro EPG

Hello.....its just not my day!

So ive teied to create a new XML for Astro.com.my.

Ive modified the ini file, and ran the webgrab.

No luck.

Ive uploaded my filed below, and help would be gold.

Thanks

Attachments: 
james0baster
Offline
Joined: 4 years
Last seen: 1 year

I have able to grab the Astro EPG with small edit on the .ini file, below is my astro.com.my.ini

Quote:

site {url=astro.com.my|timezone=Asia/Kuala_Lumpur|maxdays=7|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|episodesystem=xmltv_ns}
url_index{url|http://ams-api.astro.com.my/ams/v3/getEvents?periodStart=|urldate|:00:00:00&periodEnd=|urldate|:23:59:59&channelId=|channel|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|yyy-MM-dd}
index_showsplit.scrub {regex||\{"eventID":.*?\]\},||}
index_start.scrub {regex||"displayDateTime":".*?(\d+:\d+:\d+)\.\d+||}
index_duration.scrub {regex||"displayDuration":"(\d+:\d+):\d+||}
index_title.scrub {single|"programmeTitle":"||","}
index_description.scrub {single|"shortSynopsis":"||","}
index_category.scrub {single|"genre":"||","}
index_category.scrub {single|"subGenre":"||","}
index_actor.scrub {single(separator=",")|"actors":"||","}
index_director.scrub {single(separator=",")|"directors":"||","}
index_producer.scrub {single|(separator=",")|"producers":"||","}
index_showicon.scrub {single|"epgEventImage":"||","}
index_episode.modify {substring(type=regex pattern="'S1' Ep'E1'""Ep'E1'")|'index_title' "S\d+\sEp\d+\|Ep\d+"}
index_title.modify {remove(type=regex)|\sS\d+\sEp\d+\|\sEp\d+}

Uthall
Offline
Donator
Joined: 5 years
Last seen: 4 months

Thanks James,

Could you upload the complete ini file please?

james0baster
Offline
Joined: 4 years
Last seen: 1 year

Attached is my config and ini file for Astro

Attachments: 
Uthall
Offline
Donator
Joined: 5 years
Last seen: 4 months

Thanks James, thats brillaint.

Is there any way to get sub-title in there, and also the episode value is a little strange "episode-num system="xmltv_ns">2.2.episode-num"

cahorb
Offline
Joined: 4 years
Last seen: 4 years

Hey guys, new to this but looking for astro channels. I have it working in terminal but operation times out and tried to reconnect with no luck. Any pointers?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 11 hours

increase timeout

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl