Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- date_default_timezone_set('Asia/Ho_Chi_Minh');
- set_time_limit(0);
- $dir = dirname(__file__);
- define('COOKIE_FILE', $dir . '/fpt.cookie');
- require (''.$dir.'/Curl.php');
- $curl = new curl;
- $curl->ua('KhanhBQ FPT');
- $curl->ua('Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0');
- $curl->setopt('timeout', 30);
- $curl->ref('https://gamepass.nfl.com/secure/signin');
- $curl->postdata('username=antuzz&password=dinhchuong&cookielink=false');
- $curl->page('https://gamepass.nfl.com/secure/authenticate');
- $curl->page('https://gamepass.nfl.com/game/49ers-at-chiefs-on-08112017'); // Trận nào thì thay đổi link trận đó
- $id = $curl->getStr('"id": "', '"');
- $pcid = $curl->getStr('var pcid = "', '"');
- echo $pcid;
- //$curl->page('https://gamepass.nfl.com/service/publishpoint?type=game&id='.$id.htmlspecialchars('>').'=1&gs=2&st=1502321415000&dur=12010000&pcid='.$pcid.'&format=json&callback=nlPlayerQuad.setPublishPoint');
- echo 'https://gamepass.nfl.com/service/publishpoint?type=game&id='.$id.htmlspecialchars('>').'=1&gs=2&st=1502321415000&dur=12010000&pcid='.$pcid.'&format=json&callback=nlPlayerQuad.setPublishPoint';
- //$kLink = $curl->getStr('setPublishPoint({"path":"', '","pcmToken');
- //echo $curl->content;
- //header('Location: '.$kLink.'');
- //exit;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement