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
35ecb3041f
reimplement fetching multiple pages
2020-05-25 10:55:26 +02:00
3eb240f316
add missing long options
2020-05-25 10:09:24 +02:00
9e7d00e0ce
implement browse mode
2020-05-25 10:09:24 +02:00
496b0f09b0
implement JSON output for results
...
Note: pirate-get now outputs to stderr by default.
This makes piping pirate-get (for example to jq) easier as
a normal pipe will selectively pick only the JSON, not the UI.
2020-05-24 10:55:34 +02:00
03c5a396e1
reimplement sorting
2020-05-24 10:55:34 +02:00
7f879cc31f
fix test falldown from new api change
2020-05-24 10:55:33 +02:00
5a6429d61d
add option to configure requests timeout
2020-05-24 10:55:33 +02:00
c23c3db3d8
initial work on tpb api support
2020-05-24 10:55:32 +02:00
Michele Guerini Rocco
ac614ebf6b
Merge pull request #128 from vikstrous/transmission
...
rename --port option to --transmission-endpoint
2020-03-10 18:45:37 +01:00
c491a96e1e
add aliases for backward compatibility
2020-03-10 18:41:13 +01:00
095f2d2b38
show the reason in case of the mirror failure
2019-11-24 11:02:50 +01:00
d46ddff564
rename --port option to --transmission-endpoint
2019-11-15 18:49:25 +01:00
757231a188
remove unused import
2019-11-15 18:31:04 +01:00
a025dc7fc2
break some >80 chars lines
2019-11-15 18:18:11 +01:00
matteosandrin
a19fb7fc30
Copying torrent magnets from the pirate-get CLI
...
I often use seedboxes, and find myself having to save a magnet to file and then copy its contents, to input a magnet link into my seedbox.
To remedy this issue, I introduced the 'c' command inside pirate-get, that allows the user to copy a magnet link to theit clipboard.
For example, the 'c3' command would copy torrent number three into the user's clipboard.
I hope you find my pull request satisfactory. Have a great day!
- Matteo
2018-06-14 19:10:23 -04:00
Viktor Stanchev
42aa9d8555
add some configs and local csv db search
...
This adds support for the new csv database format, closes #113 .
This also adds the port and auth configs for transmission.
2018-05-27 23:25:19 -07:00
beneri
f85f355c07
add support for authentication in transmission
2018-05-26 09:58:07 +02:00
e80155f744
add check for missing local database file
2017-09-06 21:13:00 +02:00
Viktor Stanchev
6e9e922d92
fix color config
...
fix #105
2017-06-18 12:22:38 -07:00
Viktor Stanchev
bb352f9115
fix saving magents and torrents to a file
2016-10-23 13:32:37 -07:00
rnhmjoj
24e77a15b4
Add option to print version number, fix issue #90
2016-09-20 19:47:27 +02:00
rnhmjoj
bba0f41224
Allow users to set custom mirrors
2016-09-03 14:53:00 +02:00
rnhmjoj
2f40523db2
tidy up search_mirrors function
2016-08-31 21:48:25 +02:00
rnhmjoj
00aad06acd
tidy up search_mirrors function
2016-07-07 03:57:38 +02:00
rnhmjoj
2212e292f0
Fix PEP8 errors and unused import
2016-07-07 03:51:13 +02:00
rnhmjoj
867333db87
move version check to setup.py
2016-07-04 13:16:42 +02:00
Viktor Stanchev
af0c44fe8b
test version check
2016-01-03 18:05:58 -05:00
Viktor Stanchev
fed7f7ab89
error out if the version of python is old
2016-01-03 17:42:26 -05:00
Viktor Stanchev
4e450f86ae
fix issue with config parser and %s
2015-11-04 22:42:53 -08:00
Viktor Stanchev
a9fdd5ec84
test basic choice of torrent
2015-09-20 17:22:31 -07:00
Viktor Stanchev
0a4d5ceac2
test main
2015-09-20 15:32:22 -07:00
Viktor Stanchev
a2b4f29643
make the printer a class so it can be configured
2015-09-20 14:22:57 -07:00
Viktor Stanchev
39b71e0787
use an array of mirror sources and check only if necessary
2015-09-20 00:13:01 -07:00
Viktor Stanchev
9b8caf9e17
fix mirror sorting, test mirror choice
2015-09-19 22:27:05 -07:00
Viktor Stanchev
7ee1bbbccf
fix bug and test combine_configs better
2015-09-19 21:42:48 -07:00
Viktor Stanchev
d77118055d
refactor pirate.py
2015-09-16 23:26:04 -07:00
Viktor Stanchev
eadc0afd8e
lots of tests and some bugfixes
2015-09-14 22:40:46 -07:00
Viktor Stanchev
383e5a101d
test torrent command parser
2015-09-03 23:00:40 -07:00
Viktor Stanchev
1f04700158
simplify results array
2015-09-03 22:18:38 -07:00
Viktor Stanchev
b8fa71d141
fix not flushing on time
2015-09-03 21:48:57 -07:00
Viktor Stanchev
cecc8ba68b
factor out page parser
2015-09-03 20:25:24 -07:00
Viktor Stanchev
a430fab14c
organize argument passing to torrent.py
2015-09-03 00:05:33 -07:00
Viktor Stanchev
5afac2bab0
fix bug with torrent commands with no numbers, close #57
2015-08-30 22:34:49 -07:00
rnhmjoj
4d9a673b5a
Break long lines
2015-08-31 02:33:19 +00:00
rnhmjoj
dac8702751
Use a scalable blacklist
2015-08-31 02:26:18 +00:00
Viktor Stanchev
f60e0bec3f
copy d341813e62
2015-08-29 22:26:50 -07:00
Viktor Stanchev
ecbd264d02
copy 3ce8e304c4
2015-08-29 22:26:23 -07:00
Viktor Stanchev
398614704d
new tpd tld, blacklist thebay.tv
2015-08-29 21:53:50 -07:00
rnhmjoj
9e227aecfa
Cosmesis
2015-08-30 02:00:42 +00:00