1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-10 10:04:21 +01:00
Commit Graph

31 Commits

Author SHA1 Message Date
8eefc63226
fix mode handling and test 2020-05-24 10:55:34 +02:00
7f879cc31f
fix test falldown from new api change 2020-05-24 10:55:33 +02:00
f9f491ea65
readd cloudflare check 2020-05-24 10:55:33 +02:00
5daf53dab1
handle search with no terms/results 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
f115bfd8d3
fix "copy magnet to clipboard" error
The info hash can contain uppercase hex digits as well.
2020-05-18 13:57:12 +02:00
a32b3742e0
add a custom message for cloudflare protected mirrors 2020-03-31 01:27:16 +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
6642130fc5
handle mirrors with fake results table 2019-11-24 11:01:58 +01:00
Augusto Morais
651ee9747f fix exception 2018-09-14 23:14:29 -03:00
Augusto Morais
3074abf463 give more detail when there is not possible download a torrent file 2018-09-14 22:11:29 -03:00
Marcelo Kronberg
559bcf930c fix for empty href on links that ocasionally cause an uncaught exception 2018-06-27 14:33:07 +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
127bf8bdfb
replace torcache.net with itorrents.org cache 2017-09-06 19:27:00 +02:00
rnhmjoj
2212e292f0
Fix PEP8 errors and unused import 2016-07-07 03:51:13 +02:00
rnhmjoj
41b3d56721
switch to BeautifulSoup 2016-07-03 19:26:58 +02:00
Viktor Stanchev
b1d026b5f6 fix bug with / or \ in torrent names, fix #73 2015-10-08 20:33:56 -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
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
101f7e0fb1 refactor results parser to be row-oriented 2015-09-03 22:34:08 -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
cecc8ba68b factor out page parser 2015-09-03 20:25:24 -07:00
Viktor Stanchev
0ad94fca46 extract parse_magnets_seeds_leachers function 2015-09-03 20:10:30 -07:00
Viktor Stanchev
4eb034e925 fix bugs with categories and sorts 2015-09-03 00:18:11 -07:00
Viktor Stanchev
a430fab14c organize argument passing to torrent.py 2015-09-03 00:05:33 -07:00
Viktor Stanchev
82b9c77ff1 fix bugs with saving magnets and torrents 2015-08-30 22:54:59 -07:00
rnhmjoj
442dc84cdf Organize in modules 2015-08-30 01:30:22 +00:00