<?xml version="1.0" encoding="utf-8"?>
<Grabber>
  <Info language="en" availableDays="14" timezone="" 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="KUTV-HD" siteId="KUTV 002" />
    <Channel id="KTVX-HD" siteId="KTVX 004" />
    <Channel id="KSTU-HD" siteId="KSTU 013" />
    <Channel id="KTVX-DT" siteId="KUCW 015" />
  </Channels>

  <Listing type="Html">
    <Site url="http://www.imdb.com/tvgrid/2014-10-09/KUTV&amp;start_date=2014-10-09/?zip=84302" post="" external="false" encoding="" />
    <Site url="http://www.imdb.com/tvgrid/2014-10-09/KTVX&amp;start_date=2014-10-09/?zip=84302" post="" external="false" encoding="" />    
    <Site url="http://www.imdb.com/tvgrid/2014-10-09/KSTU&amp;start_date=2014-10-09/?zip=84302" post="" external="false" encoding="" />
    <Site url="http://www.imdb.com/tvgrid/2014-10-09/KUCW&amp;start_date=2014-10-09/?zip=84302" 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>


