code: def main(argv):
      replays = list(replay_paths(argv[1:]))
      bnet_base = FLAGS.bnet_base or os.path.join(
          run_configs.get().data_dir, "Battle.net"
      )
  
      print("Updating cache:", bnet_base)
      print("Checking", len(replays), "replays")
      downloaded = update_battle_net_cache(replays, bnet_base)
      print("Downloaded", downloaded, "files")
  
file_path: pysc2/pysc2/bin/update_battle_net_cache.py
imports: import binascii
  import os
  import urllib
  from absl import app
  from absl import flags
  import mpyq
  from s2protocol import versions
  from pysc2 import run_configs
label_desc: Use image node_id 5 for calling a global function with example usage: main(argv) without return types