[COLOR cyan]LIVE SPORTS[/COLOR] $doregex[makelist] http://penrith.panthers.com.au/wp-content/uploads/2018/02/LiveSports.jpg http://penrith.panthers.com.au/wp-content/uploads/2018/02/LiveSports.jpg makelist [makelist.param1] $doregex[play] ]]> (.+?).+?iframe src="(.+?)"' link = re.compile(express, re.MULTILINE|re.DOTALL).findall(main) link = [(i[0], i[1]) for i in link] link = [(i[0].splitlines(), i[1]) for i in link] link = [[(x, i[1]) for x in i[0]] for i in link] link = sum(link, []) return link ]]>