vikstrous / pirate-get

A command line interface for The Pirate Bay
GNU Affero General Public License v3.0
337 stars 53 forks source link

total-results not being implemented #147

Closed livegren8 closed 2 years ago

livegren8 commented 2 years ago

In my $HOME/.config/pirate-get, I have

total-results = 20

but still getting 99 results. Even at the default 50, still got 99 results.

Other parameters in the config are being read and implemented fine.

[Save]
; directory where to save files
directory = $PWD

; save each selected magnet link in a .magnet file
magnets = false

; save each selected torrent in a .torrent file
torrents = false

[LocalDB]
; use a local copy of the csv formatted pirate bay database
enabled = false

; path of the database
path = ~/downloads/pirate-get/db

[Search]
; maximum number of results to show
total-results = 20

[Misc]
; specify a custom command for opening the magnet
; ex. myprogram --open %s
; %s represent the magnet uri
openCommand = deluge-console "add  %s"

; open magnets with transmission-remote client
;transmission = false
; set to username:password if needed
;transmission-auth =
; set to the port number if needed
;transmission-port =

; use colored output
colors = true

; the pirate bay mirror(s) to use:
; one or more space separated URLs
; mirror = https://thepiratebay.org
rnhmjoj commented 2 years ago

It's actually implemented in master. I was waiting for more changes before making a new release, but nothing ever came up. I will release it soon.

rnhmjoj commented 2 years ago

v0.4.1 relased. Done.