mirror of
https://github.com/sstent/go-garth.git
synced 2025-12-05 23:51:42 +00:00
feat: Implement Phase 1C.2: Multi-Format Support
This commit is contained in:
@@ -100,7 +100,7 @@ func (c *Client) DownloadActivity(activityID int, opts activities.DownloadOption
|
||||
outputPath = filepath.Join(opts.OutputDir, filename)
|
||||
}
|
||||
|
||||
return c.Client.Download(fmt.Sprintf("%d", activityID), outputPath)
|
||||
return c.Client.Download(fmt.Sprintf("%d", activityID), opts.Format, outputPath)
|
||||
}
|
||||
|
||||
// SearchActivities searches for activities by a query string
|
||||
|
||||
Reference in New Issue
Block a user