Chciałbym wyciągnąć statystyki zawodników ze strony http://www.whoscored.com/Teams/52
Do tego celu zamierzam użyć php simple dom parser. Niestety w wyniku otrzymuję wszystko poza interesującą mnie tabelką.
<?php include('dom/simple_html_dom.php'); $html = file_get_html('http://www.whoscored.com/Teams/52'); ?>
I w efekcie dostaje (ucięte do fragmentu, który mnei interesuje)
Kod
Overall Home Away R Name Pos Age cm kg Apps Goal A Yel Red SpG PS% AW MoM Rt *Players shaded are players who are not currently active in team. (Loaned, sold, etc..) Tournaments: Premier LeagueUEFA Champions LeagueFA CupLeague Cup View: Overall Home Away R Name Pos Age cm kg Apps Tackle I F OW Clr Drb BS OG Rt *Players shaded are players who are not currently active in team. (Loaned, sold, etc..) Tournaments: Premier LeagueUEFA Champions LeagueFA CupLeague Cup View: Overall Home Away R Name Pos Age cm kg Apps G A SpG KP Drb F Off Dis Trn Rt *Players shaded are players who are not currently active in team. (Loaned, sold, etc..) Tournaments: Premier LeagueUEFA Champions LeagueFA CupLeague Cup View: Overall Home Away R Name Pos Age cm kg Apps A KP Avg P PS% C LB TB Rt *Players shaded are players who are not currently active in team. (Loaned, sold, etc..)
Z góry dzięki za pomoc.