Files
epg/siteini.pack/USA/nba.com.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

39 lines
1.8 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: nba.com
* @MinSWversion: V2.1.5
* @Revision 0 - [29/01/2018] WGTeam Kvanc
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=nba.com|timezone=UTC|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90}
*
url_index{url|https://time.ten.ngtv.io/v3/rundown?instance=nbatv&endTime=|urldate|}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datenumber|UNIX}
*
index_showsplit.scrub{multi|{"shows":[|{|}|],"apiVersion"}
sort_by.scrub {single(target="index_showsplit")|"startTimeUnix":|"|"|",}
index_showsplit.modify {cleanup(style=unidecode)}
index_urlchannellogo.modify{addstart|http://cdn.nba.net/assets/nbatv/logo/NBA_TV_061417_HORIZ.svg}
*
index_start.scrub {single|"scheduled_timestamp":||,"}
index_title.scrub {single|"franchise_name":"||",|",}
index_subtitle.scrub{single|"series_name":"||",|",}
index_description.scrub {single|"summary":"||",|",}
index_description.modify {replace|\\"|"}
index_temp_1.scrub{single|"title":"||",|",}
index_description.modify{addstart("")|'index_temp_1'}
index_description.modify{remove|\\n}
index_category.scrub{single|"sport":"||",|",}
index_rating.scrub{single|"tv_rating":"||",|",}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_id.scrub {|}
*index_site_id.modify {set|nbatv}
*index_site_channel.modify {set|NBA TV}
** @auto_xml_channel_end