Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于qbittorent新版本中api错误的问题 #182

Open
lihaowei2028 opened this issue Nov 20, 2023 · 0 comments
Open

关于qbittorent新版本中api错误的问题 #182

lihaowei2028 opened this issue Nov 20, 2023 · 0 comments

Comments

@lihaowei2028
Copy link

在qbittorrent.py中,qBittorrentAPIHandlerV2类中两个删除种子的方法错误。

修正方法如下:

    # Batch Delete torrents
    def delete_torrents(self, torrent_hash_list):
        return self._session.post(self._host+'/api/v2/torrents/delete', data={'hashes':'|'.join(torrent_hash_list), 'deleteFiles': False})
    
    # Batch Delete torrents and data
    def delete_torrents_and_data(self, torrent_hash_list):
        return self._session.post(self._host+'/api/v2/torrents/delete', data={'hashes':'|'.join(torrent_hash_list), 'deleteFiles': True})
jerrymakesjelly added a commit that referenced this issue Apr 27, 2024
closes #157 #173 #182 #186

* docs: add description of version 1.5.5

* docs: update README

* release: version 1.5.5

* fix: typos in previous version description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant