**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: mi.tv2 * @MinSWversion: *@Revision 0 - [16/10/2017] 1NSdbZVbpZDX *completely redisigned * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=mi.tv2|timezone=UTC+00:00|maxdays=7|cultureinfo=es-MX|charset=UTF-8|titlematchfactor=90|nopageoverlaps} *site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000|loadcookie=mi.tv2.cookie.txt} *urldate.format{list|hoy|manana|{datestring|dddd|es-MX}} urldate.format{datestring|yyyy-MM-dd} index_temp_1.modify {set|'config_site_id'} index_temp_1.modify {substring(type=regex)|^([A-Za-z]{2})} #country code index_temp_2.modify {set|'config_site_id'} index_temp_2.modify {substring(type=regex)|###(.*)} #site code *url_index {url|https://mi.tv/sv/async/channel/canal-21-nacional/|urldate|/-240} url_index {url|https://mi.tv/##CC##/async/channel/##SC##/|urldate|/-240} url_index.modify {replace|##CC##|'index_temp_1'} url_index.modify {replace|##SC##|'index_temp_2'} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the index pages index_showsplit.scrub {multi(debug)|

Programa|
  • ||both">} *index_showsplit.scrub{multi(debug)||||} index_start.scrub {single|time">|||} index_title.scrub {single|

    ||

    |} index_title.modify {cleanup(tags="<"">")} index_urlshow {url|https://mi.tv|} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * to speedup the downloading of the detail pages * operations: ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) **country codes: ar|br|co|gt|hn|sv|mx|py ** @auto_xml_channel_start *url_index {url|https://mi.tv/|subpage|/async/guide/all/-240?cb=69fecc20bf8ef044e970d9ebecd1679f} *subpage.format {list|br} #change code here *index_site_channel.scrub {multi|class="channel">|title="|"|class="logo"} *index_site_id.scrub {multi|class="channel">|} #change code here *index_site_id.modify {remove|is/} *index_site_id.modify {remove|les/} *index_site_id.modify {addstart|br###} #change code here ** @auto_xml_channel_end