ludviglundgren / qbittorrent-cli

Cli to manage qBittorrent
MIT License
159 stars 17 forks source link

fix(mover) URL param handling in GetTorrentsByCategory #63

Closed s0up4200 closed 1 year ago

s0up4200 commented 1 year ago

Resolves the issue where URL parameters were not correctly processed in the GetTorrentsByCategory() function. It now pass these parameters as url.Values to getCtx() for proper encoding and appending to the API endpoint. This ensures only the torrents in the specified category are fetched.

Use the print on L143 to confirm.

ludviglundgren commented 1 year ago

Superseded by https://github.com/ludviglundgren/qbittorrent-cli/pull/64