You are here

Olympicchannel.com DE Version

10 posts / 0 new
Last post
fliyer
Offline
Donator
Joined: 5 years
Last seen: 1 year
Olympicchannel.com DE Version

Hello ,
i have start with the missing olympicchannel.com side in german language.
At the first I am very close to the goal.

Here the issues:
1) The listet EPG informations in the logfile are unsorted. The date listed informations jumps from day to day.

2) The time line: I know i have seen this constelation in another ini file, but i can´t find it any more ( "startTime":"2019-03-27T01:23:00"). I think i have to specify the "date" and the "T" in the start Index. Sorry, i need help for correct constellation.

3) The Index URL, i think that is the right URL adress?

I get a result after grabing, but ony for one day, and only the first entry beginning from 00:00 Hour

I hope for some insperations.

DeBaschdi
Offline
Has donated long time ago
Joined: 5 years
Last seen: 3 years

hi, use this :)

index_start.scrub {single(pattern="yyyy-MM-dd-HH:mm:ss")|"startTime":"||"|"}
index_stop.scrub {single(pattern="yyyy-MM-dd-HH:mm:ss")|"endTime":"||"|"}
index_start.modify {replace|T|-}
index_stop.modify {replace|T|-}

fliyer
Offline
Donator
Joined: 5 years
Last seen: 1 year

THX but i have disable the stop time. now it´s perfect.
With stop time i get only 3 entries by day.

OK here the finish ini for german and english. only disable and enable the side URL.

But the maxdays are variable, because the side is not all time updated and some times you get only 3 days.
It´s better than nothing.

DeBaschdi
Offline
Has donated long time ago
Joined: 5 years
Last seen: 3 years

you need to add stoptime too, else you have incorrect data.
the site u want to scrape only offer 3 days!
https://www.olympicchannel.com/de/api/v1/live/video/2019-04-01/epglist? <----- no data for 04.01

i fixed your .ini, and pimped it up with img + category.
PS, i think you should use UTC without +01:00

try it :)

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

its not the stop time,its the times themselves that are the issues.

this is where u need to inspect the data.the program times over run each other.
it can be improved by using regex and not use the seconds value but it still causes some conflicts.

u have 2 choices here..
1.disable the stop as flier did
2.leave it like this and webgrab will correct the stop time so the data makes sense(it makes a mess of your log)

nothing special like pattern(or any replaces) is needed for the start/stop time,webgrab understands this time format no problem.

the times are not in UTC,they are in the users local timezone so the timezone= setting has to be set to whatever timezone the pc grabbing the data is set to.

selmak
Offline
Donator
Joined: 4 years
Last seen: 2 years

Hi does anybody have a working version of this or can point me in the right direction?

When I run it all I get in the log is no shows in indexpage!

selmak
Offline
Donator
Joined: 4 years
Last seen: 2 years

Anyone?

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

seeing with all this contravirus crap goin on and your a donator,i'll throw u a bone.
don't forget to rename files after download and remove the _(underscores).webgrab adds these to all upload for security reasons.

btw
the channel list creates a olypmic channel 2 for each country,i added this awhile(last Olympics I think) as the had 2 channels.
just checked the data for de and there is only channel 1 with epg currently.

selmak
Offline
Donator
Joined: 4 years
Last seen: 2 years

Thank You for reply with the new configs.

Edit: never mind I am a idiot :)

Thanks again

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

normal message.
when only a start time exists webgrab uses the next show start time for the previous show stop time.
so the last show for the grab period has no next show for a stop time,hence the message.

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