2009-01-20, 05:15
I am trying to grab the videos from hgtv.com. I can get a list of the shows, but when trying to get the videos from the shows, it uses javascript. I can get all the pertinent info, except where the video is in the source code.
For example: http://www.hgtv.com/hgtv/on_tv/player/0,...14,00.html
It looks like it should be in this section, but what do I do with this?
<div class="dynlead-vid-wrap">
<div id="vplayer-1"></div>
<script type="text/javascript">
// params: (playerid, channelid)
// player id needs to be unique for this page and match the div id above
var snap = new SNI.HGTV.Player.FullSize('vplayer-1','13090', '30114');
</script>
</div> <!-- /VID -->
Any and all help or pointing in the right direction would be helpful. Also please be kind in case this has already been answered. I searched for the last 30 mins here and google and did not find anything and this is my first plugin.
For example: http://www.hgtv.com/hgtv/on_tv/player/0,...14,00.html
It looks like it should be in this section, but what do I do with this?
<div class="dynlead-vid-wrap">
<div id="vplayer-1"></div>
<script type="text/javascript">
// params: (playerid, channelid)
// player id needs to be unique for this page and match the div id above
var snap = new SNI.HGTV.Player.FullSize('vplayer-1','13090', '30114');
</script>
</div> <!-- /VID -->
Any and all help or pointing in the right direction would be helpful. Also please be kind in case this has already been answered. I searched for the last 30 mins here and google and did not find anything and this is my first plugin.