Module:Ep/YTURLSwitcher

local p = {}

function p.epYTURL(frame) local ep = frame.args[1] local result

local epURLs = mw.loadData('Module:Ep/YTURLSwitcher/URLs') if epURLs[ep] == nil then result = "" else result = epURLs[ep] end

return result

end

return p

-- return {   ["1x01"] = "https://youtu.be/dQw4w9WgXcQ",    ["1x02"] = "https://youtu.be/dQw4w9WgXcQ",    ["default"] = "" } --