
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
github.com/nullpointerw/go-qbittorrent-apiv2
qBittorrent web API(v2.8.3) wrapper for go
Requires qBittorrent version ≥ v4.1.
Some of the code is reused from this repository superturkey650/go-qbittorrent.
At present, the API for RSS has been fully wrapped, as well as partially wrapping the API for torrent and sync. Welcome to submit PR to wrap all APIs.
go get in your module.
$ go get github.com/NullpointerW/go-qbittorrent-apiv2
import (
qbt "github.com/NullpointerW/go-qbittorrent-apiv2"
)
func main() {
// When connecting to qBittorrent on the local network and
// 'Bypass from localhost' setting is active.
// The parameters after 'host' can be ignored.
// e.g.:NewCli("http://localhost:8991")
cli, err := qbt.NewCli("http://localhost:8991", "admin", "123456")
if err != nil {
fmt.Printf("%+v\n", err)
}
torrnet, err := cli.TorrentList(optional{
"filter": "downloading",
})
if err != nil {
fmt.Printf("%+v\n", err)
}
torrnetProp, err := cli.GetTorrentProperties(torrnet[0].Hash)
if err != nil {
fmt.Printf("%+v\n", err)
}
fmt.Println(torrnetProp.SavePath)
m, err := cli.LsAutoDLRule()
if err != nil {
fmt.Printf("%+v\n", err)
}
fmt.Println(m)
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.