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

Fixed torrents not being loaded correctly into array #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

heathlarsen
Copy link

@heathlarsen heathlarsen commented Mar 6, 2023

This fixes an issue where torrent hashes would not be processed correctly into an array resulting in torrents not being identified as unregistered (also fixes #4).
Updated API method to support qBittorrent v4.5.
Fixed compatibility issue with Bash's regex.

This fixes an issue where torrent hashes would not be processed correctly into an array.
This results in torrents not being identified as unregistered.
This also fixes onedr0p#4.
@heathlarsen heathlarsen changed the title Update qbittorrent-prune.sh Fixed torrents not being loaded correctly into array Mar 6, 2023
As of qBittorrent 4.5.0 many commands require POST to be used instead of also supporting GET.
The parameters now also needs to be supplied using -d instead of in the URL.
Bash does not support using \d. Instead [0-9] must be used.
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

Successfully merging this pull request may close these issues.

ignored null byte in input
1 participant