code: def get_next_url(response):
      """
      Function to get 'next' url from Link header
      :param response: response from requests
      :return: next url or None
      """
      if "link" not in response.headers:
          return None
      headers = response.headers
  
      next_url = headers["Link"]
      print(next_url)
      start_index = next_url.find("<")
      end_index = next_url.find(">")
  
      return next_url[1:end_index]
  
imports: import requests
  from urllib.parse import urlparse, parse_qs
label_desc: Use image node_id 1 for calling a global function with example usage: get_next_url(response) and returns: next_url, None