code: def build_next_url(self, url):
          
          if not url:
              if self.split_urls:  # If we had a long request give the next part
                  self.total_count_flag = False  # Reset flag for count
                  return self.split_urls.pop(0)
              else:
                  return None
  
          parsed_url = urlparse(url)
          return "{0}?{1}".format(parsed_url.path, parsed_url.query)
docs: Builds next url in a format compatible with cousteau. Path + query