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
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
7bbfac52e9
handle cookies for tpb http requests
...
The pirate bay (or a hoster in between) added a mechanism
to rate-limit requests that forces us to handle cookies.
2020-03-10 14:44:49 +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
rnhmjoj
2212e292f0
Fix PEP8 errors and unused import
2016-07-07 03:51:13 +02:00
Viktor Stanchev
0285351230
make color disabling work
2015-09-20 14:44:52 -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
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
1f04700158
simplify results array
2015-09-03 22:18:38 -07:00
Viktor Stanchev
82b9c77ff1
fix bugs with saving magnets and torrents
2015-08-30 22:54:59 -07:00
rnhmjoj
9e227aecfa
Cosmesis
2015-08-30 02:00:42 +00:00
rnhmjoj
ee8abc5d37
Fix missing imports
2015-08-30 02:00:06 +00:00
rnhmjoj
442dc84cdf
Organize in modules
2015-08-30 01:30:22 +00:00