Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name":"NBA Streams",
- "description":"Watch NBA",
- "author":"koukch",
- "domain":"nba-stream.com",
- "mimeType":"urlresolver",
- "icon":"http://www.cioal.com/wp-content/uploads/nba-logo.jpeg",
- "confs":{
- "home":{
- "conf":{
- "items":{
- "listItem":".match-info",
- "data":{
- "title":{
- "selector":"b"
- },
- "subtitle":{
- "selector":"time",
- "attr":"datetime"
- },
- "link":{
- "selector":"a",
- "attr":"href"
- },
- "resolve":{
- "convert":"(function (x) {return 'resolve'})"
- }
- }
- }
- }
- },
- "resolve":{
- "conf":{
- "stream":{
- "selector":"#video-player-iframe > iframe",
- "attr":"src",
- "convert":"(function (x) {return {link:x, resolve:'resolve2'}})"
- }
- }
- },
- "resolve2":{
- "conf":{
- "stream":{
- "selector":"#player > div > iframe",
- "attr":"src",
- "convert":"(function (x) {return {link:x, resolve:'resolve3'}})"
- }
- }
- },
- "resolve3":{
- "conf":{
- "stream":{
- "selector":"#player",
- "how":"(function($elm){var script=$elm.find('script:nth-child(1)').html();if(script){return{link:'http://bro.adca.st/stream/'+script.match(/id=\"(.*?)\"/)[1]+'.html',resolve:'resolve5'}} return{link:$elm.find('iframe').attr('src'),resolve:'resolve4'}})"
- }
- }
- },
- "resolve4":{
- "conf":{
- "stream":{
- "selector":"html",
- "how":"html",
- "convert":"(function (x) {return {link:x.match(/file:\"(.*?)\"/)[1]}})"
- }
- }
- },
- "resolve5":{
- "conf":{
- "stream":{
- "selector":"html",
- "how":"(function($elm){return{link:'http://bro.adca.st/chinchan.php',replaceme:$elm.html().match(/tambor\\s?=\\s?\"(.*?)\"/)[1]+'#TOKEN'+'| User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36&Referer=http://bro.adca.st',resolve:'resolve6'}})"
- }
- }
- },
- "resolve6":{
- "conf":{
- "stream":{
- "selector":"html",
- "how":"(function($elm){return{token:JSON.parse($elm.text()).rumba}})"
- }
- }
- }
- },
- "conf":{
- "url":"http://nba-stream.com/next-games/",
- "conf":"home"
- }
- }
Add Comment
Please, Sign In to add comment