57 lines
2.8 KiB
INI
Executable File
57 lines
2.8 KiB
INI
Executable File
**------------------------------------------------------------------------------------------------
|
|
* @header_start
|
|
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
|
|
* @Site: yes.co.il
|
|
* @MinSWversion:
|
|
* @Revision 0 - [06/05/2015] Willy De Wilde
|
|
* - creation
|
|
* @Remarks:
|
|
* @header_end
|
|
**------------------------------------------------------------------------------------------------
|
|
*
|
|
site {url=yes.co.il|timezone=Asia/Tel_Aviv|maxdays=7|cultureinfo=he-IL|charset=utf-8|titlematchfactor=50|firstshow=1}
|
|
*https://www.yes.co.il/content/YesChannelsHandler.ashx?action=GetDailyShowsByDayAndChannelCode&dayValue=0&dayPartByHalfHour=0&channelCode=YES2
|
|
url_index{url()|https://www.yes.co.il/content/YesChannelsHandler.ashx?action=GetDailyShowsByDayAndChannelCode&dayValue=|urldate|&dayPartByHalfHour=0&channelCode=|channel|}
|
|
urldate.format {daycounter|0}
|
|
*
|
|
*
|
|
index_showsplit.scrub {multi ()|<a Schedule_|||</li>}
|
|
index_start.scrub {single () |<span class="text">||-|</span>}
|
|
index_title.scrub {single () |<span class="text">|-|</}
|
|
index_urlshow {url ()|https://www.yes.co.il/content/YesChannelsHandler.ashx?action=GetProgramDataByScheduleItemID&ScheduleItemID=|Item_ID="||"}
|
|
index_title.modify {cleanup}
|
|
*
|
|
title.modify {addstart|'index_title'}
|
|
*title.scrub {single|"Hebrew_Name":"||"}
|
|
*subtitle.scrub {single|"EnglishName":"||"}
|
|
*temp_1.scrub {single|"Russian_Name":"||"}
|
|
subtitle.modify {addend ('temp_1' not "") | - 'temp_1'}
|
|
description.scrub {single ()|"PreviewText":"||"}
|
|
title.modify {cleanup}
|
|
subtitle.modify {cleanup}
|
|
description.modify {cleanup}
|
|
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
|
|
**
|
|
** @auto_xml_channel_start
|
|
*url_index{url()|https://www.yes.co.il/content/tvguide#}
|
|
*index_site_id.scrub {multi (separator=",")|var channelsDataCollection = [||]}
|
|
*index_site_id.modify {remove|"}
|
|
*index_site_id.modify {replace|,|\|}
|
|
*index_site_id.modify {cleanup}
|
|
*index_site_channel.scrub {multi (separator=",")|<img src="/Style%20Library/Yes/Images/sampleChannelLogoWhite.png" data-original="/||"}
|
|
*index_site_channel.modify {remove|contents/PublishingImages/logo_new/}
|
|
*index_site_channel.modify {remove|Premium/}
|
|
*index_site_channel.modify {remove|more/}
|
|
*index_site_channel.modify {remove|sales/PublishingImages/movie/}
|
|
*index_site_channel.modify {remove|Home_channel_Additional/}
|
|
*index_site_channel.modify {remove|General/}
|
|
*index_site_channel.modify {remove|.png}
|
|
*index_site_channel.modify {remove|SiteCollectionImages/icons/}
|
|
*index_site_channel.modify {remove|contents/PublishingImages/July/Movies/}
|
|
*index_site_channel.modify {remove|SiteCollectionImages/icons/lifetime">SiteCollectionImages/icons/}
|
|
*index_site_channel.modify {cleanup}
|
|
|
|
** @auto_xml_channel_end
|
|
|