**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: tangotv.lu * @MinSWversion: V1.57 * @Revision 0 - [28/09/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=tangotv.lu|timezone=UTC+02:00|maxdays=14|cultureinfo=fr-LU|charset=UTF-8|titlematchfactor=90} site {ratingsystem=LU|episodesystem=onscreen} url_index{url|http://www.tangotv.lu/en/ezjscore/call/ezjsctango::refreshPrograms} urldate.format {datenumber|UNIX|0} * scope.range{(urlindex)|end} index_variable_element.modify {calculate(format=date,unix)|'urldate'} subpage.format {list(format=F0 step=7200 count=11)|'index_variable_element'} end_scope * url_index.headers {method=POST} url_index.headers {customheader=Accept-Encoding=gzip,deflate} url_index.headers {accept=application/json, text/javascript, */*; q=0.01} url_index.headers {contenttype=application/x-www-form-urlencoded; charset=UTF-8} url_index.headers {postdata=offset=0×tamp='subpage'&channels%5B%5D='channel'} * index_urlchannellogo {url|http://www.tangotv.lu|
|src="|"|||<\/script>|<\/script>} scope.range{(splitindex)|end} index_showsplit.modify {remove|\\n} index_showsplit.modify {remove|\\t} index_showsplit.modify {cleanup(style=jsondecode)} index_temp_1.modify {substring(type=regex)|'index_showsplit' "||
|} index_duration.scrub {regex||\((\d+)\smin\)<\/span>||} index_title.scrub {single|||} * title.scrub {single|

||

|} description.scrub {single|

||

|

} director.scrub {single(includeblock="Director:")||||} actor.scrub {single(includeblock="With:")|||} category.scrub {single(includeblock="Program category:")||||} productiondate.scrub {single(includeblock="Release year:")||||} country.scrub {single(includeblock="Country:")||||} * actor.modify {substring(not "" type=regex)|"
  • ([^<]*)
  • "} country.modify {cleanup(style=upper)} country.modify {replace|-|/} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start *url_index {url|http://www.tangotv.lu/en/tv-guide} *index_site_id.scrub {multi|} *index_site_channel.scrub {multi||} *index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")} ** @auto_xml_channel_end