this post was submitted on 05 Feb 2025
101 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

59257 readers
494 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
 

It supports thepiratebay, nyaa, 1337x, libgen, limetorrents and rarbg

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 month ago (2 children)

Very cool, but why not just use qbittorrents search engine? 🤔

[–] [email protected] 9 points 1 month ago

Why not use prowlarr + arrs instead?

[–] [email protected] 6 points 1 month ago

I don't really use qbittorrents, i do everything from terminal so i use transmission with transmission-remote cli, this script gives me the ability to add any torrent in a couple of seconds. Also it can search for books on libgen.

[–] [email protected] 4 points 1 month ago (2 children)

Pretty cool. May I ask tough, what’s the reason for doing this in BASH and not in something like Python?

[–] [email protected] 11 points 1 month ago (1 children)

Not OP, but I always prefer bash over python since it's "lower level". But that's just a preference.

[–] [email protected] 6 points 1 month ago

I'm with this... Bash runs in nearly anything without any real good chance of version conflicts.

Why complicate things needlessly?

[–] [email protected] 6 points 1 month ago

Not really bash but posix shell, the main reason is because at the time of making it i had not yet made python ffi for my html searching lib

[–] [email protected] 2 points 1 month ago (1 children)

I really like this. Is it possible to have it search several sources in the future?

[–] [email protected] 2 points 1 month ago

Using all sources could return over 200 results for one query. This would make it hard to browse without fzf.

Results would have to get sorted by the script and fields like date are provided in human readable format that would have to be converted with a lot of effort to sort it. Sources have also unique fields.

Shell script is just bad to make that feature, although torge is extendable enough for you to make a wrapper script that could do it without sorting.

[–] [email protected] 2 points 1 month ago (1 children)

Nice! It's using xclip or xsel to copy magnet links, afaik it's only working on Xorg. What is the Wayland alternative for xclip?

[–] [email protected] 4 points 1 month ago

You can use the --no-clipboard option to make a wrapper script that would integrate it with wl-copy.