daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $ch = curl_init();
  3. curl_setopt($ch, CURLOPT_URL, 'http://bilutv.org/ajax/player');
  4. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  5. curl_setopt($ch, CURLOPT_POSTFIELDS, "id=12865&ep=158713");
  6. curl_setopt($ch, CURLOPT_POST, 1);
  7. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  8. $headers = array();
  9. $headers[] = 'Origin: http://bilutv.org';
  10. $headers[] = 'Accept-Encoding: gzip, deflate';
  11. $headers[] = 'Accept-Language: vi,en-US;q=0.9,en;q=0.8';
  12. $headers[] = 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 OPR/58.0.3135.47';
  13. $headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8';
  14. $headers[] = 'Accept: */*';
  15. $headers[] = 'X-Requested-With: XMLHttpRequest';
  16. $headers[] = 'Connection: keep-alive';
  17. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  18. $result = curl_exec($ch);
  19. curl_close ($ch);
  20. print_r($result);
  21. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top