Lo que estoy intentando es extraer la imagen del juego, titulo del juego y la URL .swf de <embed>
Código PHP:
require 'simple_html_dom.php';
$url = 'http://www.juegosfriv2016.org/';
$html = file_get_html( $url );
$posts = $html->find('div[class=game]');
foreach( $posts as $post ){
$link = $post->find('a',0);
$url = $link->attr['href'];
$title = $link->innertext;
$img = $post->find('div[class=pres] img')->attr['src'];
$swf = $post->find('div[id=juegos-friv] img')->attr['src'];
echo $title,"<br/>",$img,"<br/>",$swf"<br/>";
}
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
Resultado:
![](https://image.ibb.co/bG7uk9/borrar_fw.png)
Alguna buena alma me ayuda?