I'm using PHP Simple HTML DOM to scrape the data from a site. just like to know how to get the info separately without getting all together.
using this command i can get the full page.
$html = file_get_html('http://mp3skull.com/mp3/gangnam_style.html');
foreach($html->find('div#song_html') as $e)
echo $e->innertext . '<br>';
What i need is to get the Title, URL, time, bites separately.
<div id="song_html" class="show1">
<div class="left">
<!-- info mp3 here -->
320 kbps<br />4:01<br />9.2 mb </div>
<div id="right_song">
<div style="font-size:15px;"><b>Psy - Gangnam style (DJ Pasha Lee & DJ Vitaco remix) - Psy - Gangnam style (DJ Pasha Lee & DJ Vitaco remix) mp3</b></div>
<div style="clear:both;"></div>
<div style="float:left;">
<div style="float:left; height:27px; font-size:13px; padding-top:2px;">
<div style="float:left;"><a href="http://promodj.com/source/3594542/Psy_Gangnam_style_DJ_Pasha_Lee_DJ_Vitaco_remix.mp3" rel="nofollow" target="_blank" style="color:green;">Download</a></div>
<div style="margin-left:8px; float:left; width:27px; text-align:center;"><a href="javascript:void(0)" onclick="showPlayer_new(11683153, '77380784862db5cfb455861b62fdc62690aca7d2', 'psy', 'gangnam+style')" rel="nofollow" id="lk11683153" class="play_now">Play</a></div>
<div style="margin-left:8px; float:left;"><a href="javascript:void(0)" onclick="showEmbed_new(11683153, '77380784862db5cfb455861b62fdc62690aca7d2')" rel="nofollow" id="em11683153" class="embed">Embed</a></div>
<div style="margin-left:8px; float:left;"><a href="http://www.ringtonematcher.com/go/?sid=WDLL&artist=psy&song=gangnam+style" rel="nofollow" target="_blank" style="color:red;" title="Send Psy - Gangnam Style Ringtone to your Cell">Send Ringtone</a></div>
<div style="clear:both;"></div>
</div>
<div id="player11683153" style="float:left; margin-left:10px;" class="player"></div>
</div>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
</div>
Thanks in advance.