You are here

cinemagia.ro not working properly

8 posts / 0 new
Last post
aurelmarius
Offline
Donator
Joined: 5 years
Last seen: 9 months
cinemagia.ro not working properly

There is a problem grabbing epg data from cinemagia.ro. It doesn't update any show data that is aired after 19:30.
Thanks

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

Will check soon

radut
Offline
Donator
Joined: 5 years
Last seen: 2 months

There are two section now - morning and evening. Actual version grabs only morning section.

"div class="scroller_channels" data-day-period="morning""

"div class="scroller_channels" data-day-period="evening""

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

Update siteini pack

radut
Offline
Donator
Joined: 5 years
Last seen: 2 months

Sorry, can you verify siteini file?

aurelmarius
Offline
Donator
Joined: 5 years
Last seen: 9 months

The new ini is encrypted

radut
Offline
Donator
Joined: 5 years
Last seen: 2 months

Hi, is there any way to clear overlaping events?

Here is an example of what is generate:

programme start="20191207024500 +0200" stop="20191207034500 +0200" channel="Rai 1"
title lang="ro" Milleeunlibro : Scrittori in TV
programme
programme start="20191207024500 +0200" stop="20191207034000 +0200" channel="Rai 1"
title lang="ro" Cinematografo
programme

night_rider
Offline
Joined: 4 years
Last seen: 4 years

I've written an ini file (attached) for the mobile site, which has much simpler HTML, and is also less likely to change.
Just rename it to cinemagia.ro.ini, copy it to your siteini.user folder, and rename the original in siteini.pack\Romania to _cinemagia.ro.ini. Note that you can get at most one week of data (max timespan=6).

Recent changes to the desktop site have made it very challenging to extract the schedule, at least using the documented methods (separator strings or regex). It would be nice to be able to use XPath to select blocks in the HTML, it would make the program able to cope with almost anything.

Attachments: 
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