agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"; $snoopy->referer = "http://naver.com/"; $snoopy->fetch($url); $content = $snoopy->results; $html = new simple_html_dom(); $html->load($content); //$html = iconv('euc-kr', 'utf-8', $html); // 한글이 깨질 때 사용 //echo $html; $i = 0; $j=0; $k =0; $count = 0; $count1=0; $count2=0; $realUrl[20]; $realName[20]; $realSpan[20]; $realSpanW[20]; $page; $page_day; $list = $html->find('.video_list li'); $realList1 = $html->find('.type06 li'); $realList2 = $html->find('.paging '); $realList3 = $html->find('.pagenavi_day '); echo ''; ?>