Fixed live stream parsers
Live streams were incorrecntly parsed with a video parser, now live streams have priority over video parsers to prevent this issue
This commit is contained in:
parent
a8b5607639
commit
27a6a17c07
|
@ -19,15 +19,15 @@ local VideoParser = Parser:new()
|
||||||
local LiveStreamParser = Parser:new()
|
local LiveStreamParser = Parser:new()
|
||||||
|
|
||||||
local parsers = {
|
local parsers = {
|
||||||
VideoParser:new{urlPattern = 'hirado%.hu'},
|
|
||||||
VideoParser:new{urlPattern = 'm4sport%.hu'},
|
|
||||||
VideoParser:new{urlPattern = 'mediaklikk%.hu'},
|
|
||||||
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m1%-elo'},
|
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m1%-elo'},
|
||||||
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m2%-elo'},
|
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m2%-elo'},
|
||||||
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m4%-elo'},
|
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m4%-elo'},
|
||||||
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m5%-elo'},
|
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/m5%-elo'},
|
||||||
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-elo'},
|
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-elo'},
|
||||||
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-world%-elo'}
|
LiveStreamParser:new{urlPattern = 'mediaklikk%.hu/duna%-world%-elo'},
|
||||||
|
VideoParser:new{urlPattern = 'hirado%.hu'},
|
||||||
|
VideoParser:new{urlPattern = 'm4sport%.hu'},
|
||||||
|
VideoParser:new{urlPattern = 'mediaklikk%.hu'}
|
||||||
}
|
}
|
||||||
|
|
||||||
function probe()
|
function probe()
|
||||||
|
|
Loading…
Reference in New Issue