code: def obtain_lib_urls():
      base_url = "https://sourceforge.net/projects/analytics-zoo/files/bigdl-llm/"
  
      def get_date_urls(base_url):
          # obtain all urls based on date(format: xxxx-xx-xx)
          text = ""
          try:
              text = requests.get(base_url).text
          except Exception as e:
              print("error - > ", base_url, e)
              pass
          reg = "https://sourceforge.net/projects/analytics-zoo/files/bigdl-llm/[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}/"
          urls = re.findall(reg, text)
          return urls
  
      def get_urls_for_binary(date_urls, binarys):
          # Sort by time from near to far
          date_urls = sorted(date_urls, reverse=True)
          binary_url = {}
          download_num = len(binarys)
          for url in date_urls:
              try:
                  text = requests.get(url).text
              except Exception as e:
                  print("error - > ", url, e)
                  continue
              for binary in binarys:
                  if binary in binary_url:
                      continue
                  # Filename hard matching
                  match_pattern = '"name":"{}"'.format(binary)
                  if match_pattern in text:
                      lib_url = url + binary
                      binary_url[binary] = lib_url
                      download_num -= 1
                      if download_num == 0:
                          break
              if download_num == 0:
                  break
          return binary_url
  
      lib_urls = {}
      date_urls = get_date_urls(base_url)
      windows_binary_urls = get_urls_for_binary(
          date_urls, windows_binarys
      )
      lib_urls["Windows"] = list(windows_binary_urls.values())
      linux_binary_urls = get_urls_for_binary(date_urls, linux_binarys)
      lib_urls["Linux"] = (
          list(linux_binary_urls.values()) + ext_lib_urls
      )
      return lib_urls
  
file_path: BigDL/python/llm/setup.py
imports: import fnmatch
  import os
  import platform
  import shutil
  import sys
  import urllib.request
  import requests
  import re
  import glob
  import copy
  from setuptools import setup
label_desc: Use image node_id 2 for calling a global function with example usage: obtain_lib_urls() and returns: lib_urls, urls, binary_url