Skip to content

v2.2.0

Choose a tag to compare

@gleich gleich released this 14 May 17:34
· 4 commits to main since this release
9762365

Breaking changes

All Download* functions gained a filename string parameter between hour and requestOptions.

  • DownloadProxy(date, hour, filename, opts)
  • DownloadAnonymizer(date, hour, filename, opts)
  • DownloadTorrent(date, hour, filename, opts)
  • DownloadHeliosHTTP(date, hour, filename, opts)
  • DownloadHeliosTLS(date, hour, filename, opts)
  • DownloadFeedSnapshot(stream, date, hour, filename, opts)

Pass a non-empty filename to write the snapshot directly to disk — no manual os.Create / io.Copy needed. Pass "" to get back the raw io.ReadCloser as before.