Prova con file_get_contents()
Se non erro dovrebbe estrarre il contenuto della pagina (html, js che sia)