Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by solvek on 08.02.16.
- */
- var express = require('express');
- var app = express();
- var Pled = require('../index');
- var sources = ['http://api.mystreams.club/vget?username=<username>&password=<password>&filterCategory=Afghani,Arabic,Bangla,Filipino,France,Germany,Gujrati,I
- ndia,Ireland,Italy,Korea,Malayalam,Marathi,Pakistan,Portugal,Punjabi,Scandinavian,Tamil,Telegu,Thai,Matchcenter&format=ts&type=m3u8'];
- app.get('/ms', function (req, res) {
- var f = Pled.filters;
- var filters = [
- f.forGroup("MatchCenter - American Football", f.remove),
- f.forGroup("MatchCenter - Basketball", f.remove),
- f.forGroup("MatchCenter - Boxing", f.remove),
- f.forGroup("MatchCenter - College Rugby", f.remove),
- f.forGroup("MatchCenter - College Water Polo", f.remove),
- f.forGroup("MatchCenter - Cricket", f.remove),
- f.forGroup("MatchCenter - Curling", f.remove),
- f.forGroup("MatchCenter - Cycling", f.remove),
- f.forGroup("MatchCenter - Darts", f.remove),
- f.forGroup("MatchCenter - Figure Skating", f.remove),
- f.forGroup("MatchCenter - FIS Alpine Skiing", f.remove),
- f.forGroup("MatchCenter - Formula 1", f.remove),
- f.forGroup("MatchCenter - General TV", f.remove),
- f.forGroup("MatchCenter - Gold Zone", f.remove),
- f.forGroup("MatchCenter - Golf", f.remove),
- f.forGroup("MatchCenter - Horse Racing", f.remove),
- f.forGroup("MatchCenter - IBSF World Cup Bobsleigh and Skeleton", f.remove),
- f.forGroup("MatchCenter - Ice Hockey", f.remove),
- f.forGroup("MatchCenter - MotoGP", f.remove),
- f.forGroup("MatchCenter - Motor Sports", f.remove),
- f.forGroup("MatchCenter - NASCAR", f.remove),
- f.forGroup("MatchCenter - NBA", f.remove),
- f.forGroup("MatchCenter - NCAAB", f.remove),
- f.forGroup("MatchCenter - NCAAF", f.remove),
- f.forGroup("MatchCenter - NFL", f.remove),
- f.forGroup("MatchCenter - NHL", f.remove),
- f.forGroup("MatchCenter - NHRA Drag Racing", f.remove),
- f.forGroup("MatchCenter - Olympic Sports", f.remove),
- f.forGroup("MatchCenter - Olympics", f.remove),
- f.forGroup("MatchCenter - Other", f.remove),
- f.forGroup("MatchCenter - Other Sports", f.remove),
- f.forGroup("MatchCenter - PGA Tour", f.remove),
- f.forGroup("MatchCenter - Rugby", f.remove),
- f.forGroup("MatchCenter - Soccer", f.remove),
- f.forGroup("MatchCenter - Swimming", f.remove),
- f.forGroup("MatchCenter - Tennis", f.remove),
- f.forGroup("MatchCenter - TV Shows", f.remove),
- f.forGroup("MatchCenter - UFC", f.remove),
- f.forGroup("MatchCenter - Voleibol Argentino", f.remove),
- f.forGroup("MatchCenter - World Cup Qualifiers", f.remove),
- f.forGroup("MatchCenter - World Football", f.remove),
- f.forGroup("MatchCenter - Wrestling", f.remove)
- ];
- var pled = new Pled({
- sources: ['http://api.mystreams.club/vget?username=<username>&password=<password>&filterCategory=Afghani,Arabic,Bangla,Filipino,France,Germany,Gujrati,I
- ndia,Ireland,Italy,Korea,Malayalam,Marathi,Pakistan,Portugal,Punjabi,Scandinavian,Tamil,Telegu,Thai,Matchcenter&format=ts&type=m3u8'],
- filters: filters
- });
- pled.handleRequest(req, res);
- });
- app.listen(4242, function () {
- console.log('Example app listening on port 3000!');
- });
- //# sourceMappingURL=webserver-compiled.js.map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement