code: def download_fonts(gh_url, dst):
      
      font_paths = []
      r = requests.get(gh_url)
      for item in r.json():
          if item['name'].endswith(".ttf"):
              f = item['download_url']
              dl_path = os.path.join(dst, os.path.basename(f))
              download_file(f, dl_path)
              font_paths.append(dl_path)
      return font_paths
docs: Download fonts from a github dir