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

36 lines
1.8 KiB
INI
Executable File

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: espndeportes.com
* @MinSWversion: 1.1.1/55.0
* @Revision 0 - [12/10/2014] Jan van Straaten
* - creation
* @Remarks: instructions in 'espndeportes.com.nocountry_info.txt'
* @header_end
**------------------------------------------------------------------------------------------------
site {url=espndeportes.com|timezone=UTC|maxdays=14|cultureinfo=es|charset=windows-1252|titlematchfactor=90}
urldate.format {datestring|yyyyMMdd}
*
url_index{url|http://espn.go.com/sports/tvlistings/deportes/schedule?date=|urldate|&network=|channel|&country=your-country}
* example for Mexico:
* url_index{url|http://espn.go.com/sports/tvlistings/deportes/schedule?date=|urldate|&network=|channel|&country=mexico}
*
url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages
index_showsplit.scrub {regex()||(<tr class="(?:odd\|even)row"><td valign="top">.+?</script>)||}
index_start.scrub {regex()||data-time="\d{4}-\d{2}-\d{2}T(\d{2}:\d{2}):00Z"||}
index_title.scrub {regex||<td valign="top"><strong>(.+?)</strong>||}
index_description.scrub {regex()||</strong><br>(.+?)</td>||}
index_description.modify {replace|<br />|. }
index_description.modify {cleanup(tags="<"">")}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_channel.scrub {multi(exclude="<option selected>")|<strong>CANAL:</strong>|">|</option>|</select>}
*index_site_id.scrub {multi|<strong>CANAL:</strong>|&network=|&country|</select>}
** @auto_xml_channel_end