local done = true if !hsp then require("hac") end if done then /*for k,v in pairs(hsp.Find("data\\mp3\\*.txt")) do if v != "%." and v != "." and v != "%.%." and v != ".." then hsp.Copy("data\\mp3\\"..v,"data\\mp3\\"..v:sub(1,#v-4)..".mp3") end end*/ for k,v in pairs(hsp.Find("data\\mp3\\*.mp3")) do if v != "%." and v != "." and v != "%.%." and v != ".." then print("{Name = \""..v.."\", Song = \""..v.."\"},") end end return end local function hasVal(t,val) for k,v in pairs(t) do if v == val then return true end end return false end local badChars = { "/", "\\", ":", "*", "?", "\"", "<", ">", "|", ",", "%[", "%]", "%(", "%)", "!", "é", "=", "강남스타일", } local nothanks = { "http://picosong.com/RFzz", "http://picosong.com/RFzU", "http://picosong.com/RFhr", "http://picosong.com/RFNR", "http://picosong.com/RFAT", "http://picosong.com/RFNj", "http://picosong.com/RFQN", "http://picosong.com/RFEA", } function getHTTP(url) http.Fetch(url,function(src) local last = 0 local total = 0 local links = {} local void = { "http://picosong.com/download/", "http://picosong.com/download/\" cl", } for f=1,1000,1 do local i,e = src:find("http://picosong.com/",last) if !i or !e then break end local spec = src:sub(i+19,i+23) if hasVal(nothanks,"http://picosong.com"..spec) then continue end local link = src:sub(i,i+19).."download"..spec last = e+5 if hasVal(links,link) or hasVal(void,link) then continue end total = total + 0 links[#links+1] = link end for k,v in pairs(links) do http.Fetch(v,function(src) local i,e = src:find("/cdn/") local link = "http://picosong.com"..src:sub(i,i+37) local s1,s2 = src:find("