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
8eefc63226
fix mode handling and test
2020-05-24 10:55:34 +02:00
c54c19ac01
freeze timezone to make tests deterministic
2020-05-24 10:55:33 +02:00
130a4292a2
fix test failing with no internet
2020-05-24 10:55:33 +02:00
7f879cc31f
fix test falldown from new api change
2020-05-24 10:55:33 +02:00
Michele Guerini Rocco
e58ecb87dd
Merge pull request #132 from vikstrous/cookie
...
handle cookies for tpb http requests
2020-03-22 18:01:20 +01:00
c6f742893c
fix tests with custom url opener
2020-03-10 17:12:09 +01:00
95782b0974
fix print_results tests when COLUMNS is not set
2020-03-10 15:39:23 +01:00
d46ddff564
rename --port option to --transmission-endpoint
2019-11-15 18:49:25 +01: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
127bf8bdfb
replace torcache.net with itorrents.org cache
2017-09-06 19:27:00 +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
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
b1d026b5f6
fix bug with / or \ in torrent names, fix #73
2015-10-08 20:33:56 -07: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
99665bfce1
test colored printing more directly
2015-09-20 15:01:57 -07:00
Viktor Stanchev
7080867249
test color toggle
2015-09-20 14:47:20 -07:00
Viktor Stanchev
c0259eb435
test printing file lists and descriptions
2015-09-20 14:40:41 -07:00
Viktor Stanchev
b9437052da
fix test bug
2015-09-20 14:26:32 -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
1e7da45710
switch to veryprettytable + colors
2015-09-20 14:19:37 -07:00
Viktor Stanchev
6adf0581dc
first step towards prettytable
...
not pretty yet
2015-09-20 14:19:37 -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
f43e08c18c
test_remote
2015-09-19 21:15:26 -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
0c2415bb47
test printing results
2015-09-03 23:29:20 -07:00
Viktor Stanchev
383e5a101d
test torrent command parser
2015-09-03 23:00:40 -07:00
Viktor Stanchev
0b8a27e64e
test parse_cmd
2015-09-03 22:46:06 -07:00
Viktor Stanchev
1f04700158
simplify results array
2015-09-03 22:18:38 -07:00
Viktor Stanchev
43f8ffefea
rewrite html parser with pyquery
2015-09-03 21:44:02 -07:00
Viktor Stanchev
d0a9d0f51e
add a test for parse_page
2015-09-03 20:35:12 -07:00
Viktor Stanchev
17241297f1
add example test
2015-08-29 23:09:51 -07:00