Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "bein",
- "description": "HD movies at the smallest file size.",
- "author": "koukch",
- "domain": "yts.am",
- "image": {
- "uri": "http://cdn.marketplaceimages.windowsphone.com/v8/images/3329e4fc-633d-4b1e-880e-a178f5064d8c"
- },
- "items": "(function(){ return new Array(12).fill({}).map((x, i) => { return { \"title\": 'Bein Sports ' + (i + 1), \"link\": 'http://arembed.com/live.php?ch=Bein_Sports' +(i + 1), \"resolve\": \"home\", \"options\": { \"headers\": { \"Referer\": \"http://arembed.com/live.php\" } } }; }) })",
- "confs": {
- "home": {
- "conf": {
- "stream": {
- "selector": "body > script:nth-child(1)",
- "how": "html",
- "convert": "(function(x) { x = x.split(\",\"); let width = x[0].replace(\"width=\", \"\").trim(); let height = x[1].replace(\"height=\", \"\").trim(); let channel = x[2].match(/'(.*)'/)[1]; let g = x[3].match(/'(.*)'/)[1]; return { \"link\": 'http://www.247bay.tv/hembedplayer/'+channel+'/'+g+'/'+width+'/'+height, \"resolve\": \"extract\" }; })"
- }
- }
- },
- "extract": {
- "conf": {
- "stream": {
- "selector": "#player_div > span > script:nth-child(1)",
- "how": "(function($x) { let id = $x.html().match(/enableVideo\\(\"(.*)\"\\)/); let base = $x.html().match(/var hlsUrl = \"(.*)\";/); return { \"link\": base[1].replace('\" + ea + \"', \"IPADDR\") + \"565df29c38f401b5d49fd0ac3e8aace9d5afd39a239a09c2c5d7d990eb66c3f4\", \"resolve\": \"loadbalancer\" }; })"
- }
- }
- },
- "loadbalancer": {
- "conf": {
- "ip": {
- "selector": "html",
- "how": "(function($x) {return $x.text().replace('redirect=', '');})"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement