code: def write_feed_dangerously(
      feed: Feed, outpath: str, nodes: Optional[Collection[str]] = None
  ) -> str:
      
      nodes = DEFAULT_NODES if nodes is None else nodes
      try:
          tmpdir = tempfile.mkdtemp()
  
          def write_node(node):
              df = feed.get(node)
              if not df.empty:
                  path = os.path.join(tmpdir, node)
                  df.to_csv(path, index=False)
  
          pool = ThreadPool(len(nodes))
          try:
              pool.map(write_node, nodes)
          finally:
              pool.terminate()
  
          if outpath.endswith(".zip"):
              outpath, _ = os.path.splitext(outpath)
  
          outpath = shutil.make_archive(outpath, "zip", tmpdir)
      finally:
          shutil.rmtree(tmpdir)
  
      return outpath
docs: Naively write a feed to a zipfile
  
      This function provides no sanity checks. Use it at
      your own risk.