Metastruct / gurl

Whitelist of online storage services for loading files in a privacy preserving way
The Unlicense
1 stars 1 forks source link

More to whitelist #3

Open Python1320 opened 8 years ago

Python1320 commented 8 years ago

steamusercontent, steampowered, steamstatic.com, etc BUT NOT linkfilter links!!!

deviantart cvcdn tumblr photobucket 9cache i.4cdn.org redditmedia.com

Python1320 commented 8 years ago

www.myfreetextures.com blogspot.com? copy.com tinypic.com


local t={}
for k,v in next,pac.urlobj.Cache do
    local s=k:match'://(.-)/'
    t[s]=true
end

for k,v in next,pac.urltex.Cache do
    local s=k:match'://(.-)/'
    t[s]=true
end
for k,v in next,pac.webaudio.Streams.Streams do
    local s=v.Url:match'://(.-)/'
    t[s]=true
end

for k,v in next,t do print(k) end