I have a text full of link address with style
href=\'http://address.com\'
I use re.findall('"((http)s?://.*?)"', srcCode)
in Python 3.4 to extract all links, but doesn't work. How can I fix it?
I have a text full of link address with style
href=\'http://address.com\'
I use re.findall('"((http)s?://.*?)"', srcCode)
in Python 3.4 to extract all links, but doesn't work. How can I fix it?
swap the quotes
re.findall("'((http)s?://.*?)'", srcCode)