1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-09 09:59:51 +01:00
pirate-get/pirate
Jacob Bortell 838a5973b9
Add -r/--total-results to limit search results
-r/--total-results allows the user to specify the number of links to return in the search. Because this option operates on the total search results, i.e. it's not the number of links to show per page, -p/--pages is ignored if --total-results is set. Perhaps in the future this option can be extended to operate by page.

Added total-results to config

total-results is set in the config to be 50 by default.
I also reverted the logic that only one page would be fetched if total-results is set. Now it has the original behavior: any number of pages can be requested, and total-results will filter the final result.

Minor wording update

Wording change also for cli parameter
2021-12-26 12:11:06 +01:00
..
data update blacklist 2020-05-28 12:24:53 +02:00
__init__.py Organize in modules 2015-08-30 01:30:22 +00:00
data.py initial work on tpb api support 2020-05-24 10:55:32 +02:00
local.py add some configs and local csv db search 2018-05-27 23:25:19 -07:00
pirate.py Add -r/--total-results to limit search results 2021-12-26 12:11:06 +01:00
print.py implement JSON output for results 2020-05-24 10:55:34 +02:00
torrent.py Fixed error handling 2020-06-20 17:16:16 -03:00