Files
epg/siteini.pack/Italy/italiasmart.tv.ini
freearhey a597b11307 Init
2021-03-09 22:46:37 +03:00

42 lines
2.0 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: italiasmart.tv
* @MinSWversion:
* @Revision 0 - [09/10/2015] Francis De Paemeleere
* - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
site {url=italiasmart.tv|timezone=Europe/Rome|maxdays=6|cultureinfo=en-GB|charset=UTF-8|titlematchfactor=90|nopageoverlaps|firstshow=1|keepindexpage}
urldate.format {datestring|yyyy-MM-dd}
subpage.format{list|00|12}
url_index{url|https://www.italiasmart.tv/web/scrollEPG.aspx?initialDate=|urldate|T|subpage|:00:00.000Z}
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
url_index.headers {customheader=X-Requested-With=XMLHttpRequest}
index_variable_element.modify {addstart|'config_site_id'}
index_showsplit.scrub {regex||\''index_variable_element'\'\:\{'html'\:'(.*?)'\}||}
index_showsplit.modify {substring(type=regex)|class="epg_program"[^>]*>(.*?)</}
index_start.scrub {regex||orarioInizio="(\d*\:\d*)||}
index_stop.scrub {regex||orarioFine="(\d*\:\d*)||}
index_title.scrub {regex||.*?>([^<]*)||}
index_subtitle.scrub {regex||titoloEp="([^\"]*)||}
index_description.scrub {regex||desc="([^\"]*)||}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*url_index{url|https://www.italiasmart.tv/web/scrollEPG.aspx?initialDate=|urldate|T|subpage|:00:00.000Z}
*index_site_id.scrub {regex||\'([^\']*)\'\:\{\'html\'||}
*scope.range {(channellist)|end}
*index_site_channel.modify {addstart|'index_site_id'}
*index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
*end_scope
** @auto_xml_channel_end