Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once('simple_html_dom.php');
- $gelenURL = "http://videoapi.my.mail.ru/videos/mail/hdfullfilmizlesene/_myvideo/866.json";
- $mobilURL = str_replace("http://videoapi.my.mail.ru/videos/mail/","http://m.my.mail.ru/mail/",$gelenURL);
- $mobilURL = str_replace("_myvideo/","video/_myvideo/",$mobilURL);
- $mobilURL = str_replace(".json",".html",$mobilURL);
- $html = file_get_html($mobilURL);
- $div = $html->find('div[class=eventContent__img m-video mm-clickable mm-play-video]', 0)->{'data-src'};
- echo $div;
- echo "<br/><br/><a href=".$div.">TIKLA IZLE</a>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement