code: def make_url(domain, location):
      
  
      url = urlparse(location)
  
      if url.scheme == '' and url.netloc == '':
          return domain + url.path
      elif url.scheme == '':
          return 'http://' + url.netloc + url.path
      else:
          return url.geturl()
docs: This function helps to make full url path.