const sources = html.match(/<img [^>]*src="[^"]*"[^>]*>/gm) .map(x => x.replace(/.*src="([^"]*)".*/, '$1'));