Guest User

Untitled

a guest
Apr 25th, 2015
28
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. include_once('simple_html_dom.php');
  3.  
  4. $gelenURL = "http://videoapi.my.mail.ru/videos/mail/hdfullfilmizlesene/_myvideo/866.json";
  5. $mobilURL = str_replace("http://videoapi.my.mail.ru/videos/mail/","http://m.my.mail.ru/mail/",$gelenURL);
  6. $mobilURL = str_replace("_myvideo/","video/_myvideo/",$mobilURL);
  7. $mobilURL = str_replace(".json",".html",$mobilURL);
  8.  
  9. $html = file_get_html($mobilURL);
  10. $div = $html->find('div[class=eventContent__img m-video mm-clickable mm-play-video]', 0)->{'data-src'};
  11.  
  12. echo $div;
  13.  
  14. echo "<br/><br/><a href=".$div.">TIKLA IZLE</a>";
  15. ?>
RAW Paste Data