**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: vcfaz.tv * @MinSWversion: V1.57 * @Revision 0 - [02/11/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=vcfaz.tv|timezone=Brazil/East|maxdays=4|cultureinfo=pt-BR|charset=ISO-8859-1|titlematchfactor=90} site {ratingsystem=BR|episodesystem=onscreen|retry=4} * url_index{url|http://vcfaz.tv/programacao.php?canal=|channel|&data=|urldate|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} * urldate.format {datestring|yyyy-MM-dd} * index_urlchannellogo {url|http://vcfaz.tv/|
} * index_showsplit.scrub {multi||||} * index_urlshow {url|http://vcfaz.tv/||||} index_start.modify {replace |h|:} index_title.scrub {single|class='outros'>|||} index_category.scrub {single||||} index_rating.scrub {single||||} subtitle.scrub {single||||} description.scrub {single||||} director.scrub {single(separator=", ")|Direção: |||} actor.scrub {single(separator=", ")|Elenco: |||} * temp_1.scrub {single|class='outroscor'>Temporada:|||} temp_1.modify {addstart(not "")|S} temp_2.scrub {single|class='outroscor'>Episódio:|||} temp_2.modify {addstart(not "")|E} episode.modify {addstart(pattern="S'S1'E'E1'""S'S1'""E'E1'")|'temp_1''temp_2'} * productiondate.scrub {single||||
} country.scrub {single(separator=".  " include=2)||||
} country.modify {remove(type=regex)|.$} * subtitle.modify {remove|'title':} subtitle.modify {remove(type=regex)|\s*[Ss]eason\s*\d+\s*-\s*Ep[:\.]\s*\d+(?::)?\s*} subtitle.modify {remove(type=regex)|:$} description.modify {cleanup(tags="<"">")} description.modify {replace|&quot;|"} description.modify {cleanup(style=htmldecodespecialchar)} end_scope ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** ** @auto_xml_channel_start * * channels.xml creation for this site takes a long time so be sure you need to create a new list by checking the site,especially during part 2. * Part 1. Enable Part 1 only and run webgrab. * *url_index {url|http://vcfaz.tv/class/ajax_guia.php?categoria=|subpage|&hora=16&0.06200453898567715_1478113483481} *subpage.format {list|ABT|ADL|NOT|DOC|ESP|FIL|GOV|KID|MND|MUS|REA|REG|RUR|SER|VAR} *index_site_id.scrub {multi||">} *index_site_id.modify {replace|\||,} *index_site_channel.modify {addstart|None} *index_variable_element.modify {addstart|'index_site_id'} *index_variable_element.modify {replace(debug)|,|\|} * * Part 2. Disable Part 1 and Enable Part 2.open you webgrab.log and copy the line after [ Debug ] Element value after operation: * to the subpage.format {list|.....} it should look similar to the existing one below. * run webgrab again to complete channels.xml.once channels.xml is complete one channel needs to be fixed manually as there is no channel name listed for it,its easy to see in the channels.xml * the correct line is Voz da América * *url_index {url|http://vcfaz.tv/programacao.php?canal=|subpage|} *subpage.format {list|GRD|SBT|BAN|REC|GAZ|CUL|FUT|RCN|TED|ESC|SPI|REF|MTA|MIX|RTV|C21|RBR|CNT|NGT|RUR|TVV|BOI|AGS|SHO|STH|VDA|GOS|LBV|BOA|RIT|APA|CNV|PLA|HEC|HOT|GLS|ADM|THF|SEX|CAD|PLS|GLN|NEW|RCN|CLI|F24|TLS|CNE|CNN|FNE|BIT|BBC|TVN|BQ5|BQ4|BHD|FUT|HIS|CH1|DIS|DHD|DSC|DTU|DCI|DIW|APL|SUP|NGH|SPO|SP2|SP3|ESB|ESP|ESH|ESR|135|FSP|FS2|SPI|SPN|SPJ|BSP|BQ6|OFF|WOO|TGC|771|773|775|SP4|131|239|783|784|770|772|774|776|777|780|781|782|779|778|TNT|MPX|MNX|PAR|TC1|TC2|TC3|TC6|TC4|TC5|HBO|HB2|HFE|HFA|HPL|HPE|MXE|MHD|MAP|MPE|CBR|TCM|MGM|EUR|BRA|HAL|CNB|BQ7|SAU|JUS|PTJ|NBR|AMB|SEN|CAM|CCO|CAR|BMG|ZOO|GOB|NID|NIC|NIH|NJR|DNY|DXD|PHD|BAB|RTB|DIK|TOC|TLF|NHK|NHW|SIC|RTP|TVE|TLS|RAI|COR|KBS|TV5|DWL|ART|WNT|VHD|MTH|VHS|YEE|MSW|MSF|MSH|SMX|PLV|MTV|MTJ|MUB|CBS|TVU|100|MDO|HIS|EET|FLI|GNT|HEA|TRV|TRU|BBB|BB1|BB2|MBB|AMZ|GMN|GPV|GCB|GCG|ULB|COM|TVC|UNI|POA|TVN|HOR|SHB|SBC|VTV|BPA|BVS|CEA|GPE|RUR|TVV|AGR|NOC|BOI|AGM|AGS|AMB|COB|FOX|FO1|FOA|CFX|SET|AXN|WBT|MDO|ANX|GHD|USA|SCI|CCE|TBS|SAT|SPA|LIV|TLN|GNT|VIV|EET|FTV|TRB|EST|NAC|ETV|BYU|FLI|BEM|CCL|CHE|CWB|TLF|CN2} *index_site_id.scrub {multi|
} *index_site_id.modify {cleanup(style=upper)} *index_site_channel.scrub {multi||||} ** @auto_xml_channel_end