Describe the bug
When calling torrent_info(includeTrackers = True) qbittorrent will return the trackers in the response.
When using the torrents from the response if you use torrent.trackers it makes another API request to get the trackers instead of using what was returned from the initial request.
Steps to reproduce
This will make a request for the trackers when torrent.trackers is accessed
torrents = con.torrent_info(includeTrackers = True)
for torrent in torrents:
for tracker in torrent.trackers:
print(tracker.url)
Expected behavior
The trackers included in the torrent_info request should be used instead.
Screenshots
No response
Environment
- Operating System: Linux
- Python version: python-3.13.9
- Software versions:
- qBittorrent: 5.1.2
- qbittorrent-api: HEAD
Additional context
No response
Describe the bug
When calling torrent_info(includeTrackers = True) qbittorrent will return the trackers in the response.
When using the torrents from the response if you use torrent.trackers it makes another API request to get the trackers instead of using what was returned from the initial request.
Steps to reproduce
This will make a request for the trackers when torrent.trackers is accessed
Expected behavior
The trackers included in the torrent_info request should be used instead.
Screenshots
No response
Environment
Additional context
No response