-- https://nasha-tema.tv/online/ -- Probe function. function probe() if vlc.access ~= "http" and vlc.access ~= "https" then return false end return vlc.path:match("nasha%-tema%.tv") end -- Parse function. function parse() local html = vlc.read(300000) -- get all contents of html page url = html:match('file\":%s*\"(.-)\"') url = string.gsub ( url, "liveu", "live" ) item = {} item.path = url item.title = html:match("([^<]+)" ) item.arturl = html:match('image_src\"%s*href=\"([^\"]+)') item.options = { ":http-user-agent=Mozilla/5.0"; ':http-referrer='..vlc.access.."://"..vlc.path } return { item } end