Module:Ep/Twitch

local p = {}

-- Function for querying Module:Ep/Twitchoffset to get url and/or offset time for output function p.twitchInfo(epCode) local result local twitchInfos = mw.loadData('Module:Ep/Twitchoffset') if twitchInfos[epCode] == nil then result = "" else result = twitchInfos[twitchCode] end return result end

p.turl = function(epCode) return p.twitchInfo(epCode)['url'] end

p.offset = function(epCode) return p.twitchInfo(epCode)['offset'] end

return p