import re

pattern = r"https?://\S*?(?=(?<!=)https?://|$)"

s = ("http://f...content-available-to-author-only...o.barhttps://f...content-available-to-author-only...o.bazhttp://f...content-available-to-author-only...o.bar?url=http://f...content-available-to-author-only...o.baz\n"
	"http://f...content-available-to-author-only...o.bar?url=http://f...content-available-to-author-only...o.baz?foo=bar&baz=quxhttp://")

matches = re.findall(pattern, s, re.MULTILINE)
print(matches)