Hello, i am trying to get the embed code from this page: http://tvshack.net/tv/How_I_Met_Your_Mother/season_5/episode_17/a:742478/ Code (markup): the code is between <div id="player-showtime"></div> but is generated by javascript and i tried with curl but i can't get that code. can anyone give a hint? Thans,
<?php $file = file_get_contents("http://tvshack.net/tv/How_I_Met_Your_Mother/season_5/episode_17/a:742478/"); preg_match("/<div id=\"player-showtime\">(.*)<\/div>/", $file, $matches); print_R($matches); ?> PHP: Untested.
is not working, i tried this. If you continue to see this message, please make sure that Javascript is enabled and any Ad Blocking software you are using is disabled! Code (markup):