You are here

tvprogram.idnes.cz Pls Help me create site.ini

7 posts / 0 new
Last post
Wolfik_007
Offline
Donator
Joined: 5 years
Last seen: 3 months
tvprogram.idnes.cz Pls Help me create site.ini

Pls Help me create site.ini

Me experiment not work

wg++ 2.1.11b
Win10x64_1903
Web site: https://tvprogram.idnes.cz/tvprogram.aspx

Her is me bad sample:

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 29 min

look at your index_showsplit,you are scrubbing everything.
read the manual about this but I will try to help you to see what you need to accomplish.

the purpose of the showsplit is to take a webpage of data and split it into individual shows.

this would be tru if that pages of data is for a single channels epg.
unfortunately this is not the case for you.
if you look at your url_index you will see that your grabbing the page data using the date only.
so each page contains the epg for every channel and not just a single one.

so what you need to do when u create your showsplit is first scrub the correct section of data for the channel you want to get epg data for...bs(blockstart) and be(blockend) and then split this section of data into individual shows...ee(element start) and e(element end).
read the section in the manual about separator string method to see what these terms mean.
good luck.

Wolfik_007
Offline
Donator
Joined: 5 years
Last seen: 3 months

I tried it according to the manual but I have even more confusion. I will probably need your help (if you are willing to help).
I don't know what they are doing (', ". |,' '," ",', '" ", ||, | |, etc).
Thanks in advance for helping with creating .ini

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

You need to carefully read what blackbear told you (and read documentation) , you have too many separator in showsplit, this will cause the informations not to be separated as they should. My suggestion is start like BS|||} then you keep going ahead BS|ES||} and so on until you get what you need. If you do not understand how it works and how to apply it to the site ini you want it will be very difficult.
Edit
Least not last, start creating channel list. Look around where you can find the info you will need.
I had a quick look to site ini...
url_index is wrong...url_index is the string that will call up the page you need to scrub. So:
https://tvprogram.idnes.cz/tvprogram.aspx?dt=|urldate| could be a page to start with...
you need to analyze, if possible to get single channel with date (better)...
Now up to you !!

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 29 min

to be honest you should try with a site that's not so complex,this one is way too much for a beginner.a knowledged ini creator would have somewhat of a challenge to do it.

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

here something for you to play with.

Wolfik_007
Offline
Donator
Joined: 5 years
Last seen: 3 months

Thx for all

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