<?xml version="1.0" encoding="utf-8"?>
<Grabber>
  <Info language="en" availableDays="14" timezone="UTC-06:00" version="2.0" />

  <!--
  You need to customize this imdb_com grabber file with your channel list and ZIPCODE.
  See MediaPortal Wiki Setup Guides WebEPG for instructions.
  Copy/paste the following link into a web browser or search the Wiki
   -->
   <!-- 
   http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/13_Setup_Guides/2_TV_Setup/4_TV_Guide_Setup_(EPG)/WebEPG
  -->
  
  <Channels>

    <Channel id="CBS2-HD" siteId="WBBMDT" />
    <Channel id="DECADES" siteId="WBBMDT2" />
    <Channel id="NBC5" siteId="WMAQDT" />
    <Channel id="COZI" siteId="WMAQDT2" />
    <Channel id="WLS-HD" siteId="WLS-HD" />
    <Channel id="LivWell" siteId="WLSDT2" />
    <Channel id="LAFF" siteId="WLSDT3" />
    <Channel id="WGN CW" siteId="WGNDT" />
    <Channel id="Antenna" siteId="WGNDT2" />
    <Channel id="This TV" siteId="WGNDT3" />
    <Channel id="WTTW-HD" siteId="WTTWDT" />
    <Channel id="PRIME" siteId="WTTWDT2" />
    <Channel id="Cr-Wo" siteId="WTTWDT3" />
    <Channel id="V-Me" siteId="WTTWDT4" />
    <Channel id="WYCC-HD" siteId="WYCCDT" />
    <Channel id="FNX" siteId="WYCCDT2" />
    <Channel id="MHZ" siteId="WYCCDT3" />
    <Channel id="MOVEE4U" siteId="WPVNCD" />
    <Channel id="POLVISN" siteId="WPVNCD4" />
    <Channel id="WIN TV" siteId="WPVNCD5" />
    <Channel id="KBS" siteId="WPVNCD7" />
    <Channel id="WCIU-TV, Chicago (WCIU-HD)" siteId="WCIUDT" />
    <Channel id="WCIU-TV, Chicago (UToo)" siteId="WCIUDT2" />
    <Channel id="WCIU-TV, Chicago (MeTV)" siteId="WCIUDT3" />
    <Channel id="WCIU-TV, Chicago (MeToo)" siteId="WCIUDT4" />
    <Channel id="WCIU-TV, Chicago (Bounce)" siteId="WCIUDT5" />
    <Channel id="WFLD" siteId="WFLDDT" />
    <Channel id="ION" siteId="WCPXDT" />
    <Channel id="QUBO" siteId="WCPXDT2" />
    <Channel id="IONLife" siteId="WCPXDT3" />
    <Channel id="Shop" siteId="WCPXDT4" />
    <Channel id="QVC" siteId="WCPXDT5" />
    <Channel id="HSN" siteId="WCPXDT6" />
    <Channel id="WOCH-CD (WOCH-1)" siteId="WOCHCD" />
    <Channel id="WSNS HD" siteId="WSNSDT1" />
    <Channel id="T-Xitos" siteId="WSNSDT2" />
    <Channel id="WMEU-LD CHICAGO (UToo HD)" siteId="WMEULP" />
    <Channel id="WMEU-LD CHICAGO (TOUCH)" siteId="WMEUCD" />
    <Channel id="WPWR-TV" siteId="WPWRDT" />
    <Channel id="Movies!" siteId="WPWRDT2" />
    <Channel id="MundoFx (MundoFX)" siteId="WPWRDT3" />
    <Channel id="Buzzr" siteId="WPWRDT4" />
    <Channel id="WDCI-LD" siteId="WDCILD" />
    <Channel id="WXFT-DT" siteId="WXFTDT" />
    <Channel id="WGBO-DT" siteId="WXFTDT2" />
    <Channel id="ESCAPE" siteId="WXFTDT3" />
    <Channel id="WJYS" siteId="WJYSDT"  />
    <Channel id="MCTV" siteId="WJYSDT2" />
    <Channel id="PRISM" siteId="WJYSDT3" />
    <Channel id="PRISM2" siteId="WJYSDT4" />
    <Channel id="Get TV" siteId="WGBODT2" />
    <Channel id="GRIT TV" siteId="WGBODT3" />

  </Channels>

  <Listing type="Html">
    <Site url="http://www.imdb.com/tvgrid/[YYYY]-[MM]-[DD]/[ID]&amp;start_date=[YYYY]-[MM]-[DD]/?zip=60004" post="" external="false" encoding="" />
    <Html>
      <Template name="default" start="single_station_container">
        <SectionTemplate tags="TB">
          <TemplateText>
             &lt;tr&gt;&lt;td&gt;&lt;a&gt;&lt;#START&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;
             &lt;b&gt;&lt;a&gt;&lt;#TITLE&gt;&lt;/a&gt;&lt;/b&gt;&lt;i&gt;
             &lt;a&gt;&lt;/a&gt;&lt;/i&gt;&lt;#DESCRIPTION&gt;&lt;/td&gt;&lt;/tr&gt; 
           </TemplateText>
        </SectionTemplate>
      </Template>

<Searches>

  <Search match="(?&lt;=&lt;i&gt;(?!&lt;a))(.*?)(?=&amp;nbsp;&lt;\/i&gt;)" field="#SUBTITLE" remove="true" />
  <Search match="(?&lt;=&lt;i&gt;&lt;a href=&quot;/title/tt\d{7}/&quot;&gt;)(.*?)(?=&lt;\/a&gt;)" field="#SUBTITLE" remove="true" />
  <Search match="&amp;nbsp;-&amp;nbsp;" field="#JUNK" remove="true" />
  <Search match=":&amp;nbsp;" field="#JUNK" remove="true" />

</Searches>

    </Html>
  </Listing>
</Grabber>


