**------------------------------------------------------------------------------------------------ * @header_start * WebGrab+Plus ini for grabbing EPG data from TvGuide websites * @Site: zap2it.com * @MinSWversion: V1.1.1/56.29 * @Revision 4 - [21/02/2017] Blackbear199 * - detail_element fixes * - other changes * @Revision 3 - [19/11/2016] Blackbear199 * - detail title fix * @Revision 2 - [07/11/2016] Blackbear199 * - index showsplit improvement * - changed to single day index page scrubbing - slight speed improvement * @Revision 1 - [07/08/2016] Blackbear199 * - added "No Description Available" when description is empty. * @Revision 0 - [22/03/2016] Blackbear199 * - creation * @Remarks: * @header_end **------------------------------------------------------------------------------------------------ site {url=zap2it.com|timezone=America/New_York|maxdays=14.1|cultureinfo=en-US|charset=UTF-8|titlematchfactor=90} site {ratingsystem=MPAA|episodesystem=onscreen} * url_index{url|http://tvlistings.zap2it.com/tvlistings/ZCSGrid.do?sgt=list&fromTimeInMillis=|urldate|&stnNum=|channel|} url_index.headers {customheader=Accept-Encoding=gzip,deflate} urldate.format {datenumber|JAVA|0} * index_urlchannellogo {url||"} * index_urlshow {url||class="zc-ssl-pg-title" href='||'>|'>} index_urlshow.headers {customheader=Accept-Encoding=gzip,deflate} * index_start.scrub {single|class="zc-ssl-pg-time">|||} index_title.scrub {regex||id="rowTitle[^>]*>(.+?)]*>||} index_subtitle.scrub {single|||} index_rating.scrub {single|
  • ||
  • |} index_rating.scrub {single('index_rating' "")|title="TV Rating">|||} * index_description.modify {addstart('index_urlshow' "")|No Description Available..} index_subtitle.modify {remove|"} index_rating.modify {remove(type=regex)|[^>]*(\(.*\))} * temp_1.scrub {single(separator=":" include=first)|

    ||

    |} temp_1.modify {cleanup(tags="")} detail_title.scrub {single|

    ||

    |} detail_title.modify {addstart("")|'temp_1'} detail_description.scrub {single|
    |||
    } detail_description.scrub {single|

    |

    |} detail_director.scrub {multi|-director">|itemprop="name">||} detail_actor.scrub {multi|-actors">|itemprop="name">||} detail_producer.scrub {multi|-producers">|itemprop="name">||} detail_writer.scrub {multi|-writers">|itemprop="name">||} detail_category.scrub {multi(separator=", ")|itemprop="genre">|||} detail_productiondate.scrub {single|itemprop="datePublished"|'>||} detail_showicon.scrub {single|} * index_urlsubdetail {url||class="zc-ssl-pg-ep" href='||'>|'>} index_urlsubdetail.headers {customheader=Accept-Encoding=gzip,deflate} * detail_description.modify {addstart("")|No Description Available..} detail_description.modify {remove('index_urlsubdetail' not "")|No Description Available..} * subdetail_title.scrub {single||"/>} subdetail_description.scrub {single|

    ||

    |

    } subdetail_actor.scrub {multi|Cast:|||} subdetail_episode.scrub {single(pattern="S'S1'E'E1'""E'E1'")|

    |||

    } subdetail_starrating.scrub {single||" />} subdetail_productiondate.scrub {single|} subdetail_showicon.scrub {single||src="|"|} * subdetail_description.modify {addstart("")|No Description Available..} subdetail_starrating.modify {clear("0.0")} * ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### PROVIDER FILE CREATION (only to create the xxx-channel.xml file) ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ * * add your ziptal/postal code to the site_id="" and copy it to WebGrab++.comfig.xml,set 0 * example zip 10001 or postal code S4N0A1 * * dummy * * run webgrab and rename the zap2it.com.channels.xml to providers.zap2it.com.channels.xml * disabled this section by adding * to the beginning of the lines,continue below to create a channel list * * *@auto_xml_channel_start *url_index{url|http://tvschedule.zap2it.com/tvlistings/ZBChooseProvider.do?method=getProviders} *url_index.headers {method=POST|contenttype=application/x-www-form-urlencoded} *url_index.headers {accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8} *url_index.headers {postdata=zipcode='channel'&cancelMe=} *index_site_id.scrub {multi(debug)|Choose Your Provider|method=decideFwdForLineup&|">|
    } *index_site_channel.scrub {multi|lineupId=|">||
    } *@auto_xml_channel_end ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file) ** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ * * added your provider from the file created above,set 0 * example * DISH New York (New York) * run webgrab to create the zap2it.com.channels.xml * disabled this section by adding * to the beginning of the lines * @auto_xml_channel_start url_index{url|http://tvlistings.zap2it.com/tvlistings/ZCGrid.do?method=decideFwdForLineup&|channel|} index_site_id.scrub {multi||">} index_site_channel.scrub {multi|