input: Write a python function to extract email addresses from a given URL using regex.
  assert 'example@example.com' in extract_email_addresses('https://example.org/test1')
  assert 'user123@gmail.com' in extract_email_addresses('https://example.org/test2')
  assert 'name.surname@domain.co.uk' in extract_email_addresses('https://example.org/test3')
output: import re
  import requests
  
  def extract_email_addresses(url):
      response = requests.get(url)
      content = response.text
      email_pattern = re.compile(r'[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}')
      return email_pattern.findall(content)