I have an HTML file from which I need to get all the images links and put them in a table.
I’ve been trying out different snippets from an HTML parsing guide, but none seem to work.
images = {} text = getHTML() for i in string.gmatch(text, "\<%s\*img ([^\>]\*)\>") do images[#images+1] = i print(i) -- Is not printing anything, not even 'nil' end
Any ideas what I could be doing wrong? Workarounds?