A guide on how to pirate e-books using IRC

In this tutorial, I will be using an Ubuntu to demonstrate the process.

While there is a project called Openbooks that can automate this process, I will be showing you how to do it manually because I’ve found Openbooks to be unreliable.

We will be using HexChat for this tutorial, but feel free to use an alternative client if you prefer. The process will remain the same regardless of the client you choose. As a side note, I’ve completed writing this guide and have found that HexChat is no longer supported. Instead, I recommend using Polari (for GNOME), Pidgin, or Konversation (for KDE). In fact, I’ve replaced the screenshots of connecting to the server with instructions on how to do it in Konversation, as it’s the most similar to HexChat. However, Pidgin and Polari are also suitable alternatives that will work just as well.

Launch your IRC client.

18.png Click on “New…”

19.png

In the Server field, enter irc.irchighway.net and ensure the port number is set to 6667. Make sure to leave the SSL checkbox unchecked. Once you’ve entered the details, click OK to save the changes. Then, navigate to the Server list interface and click the “Connect” button.

If you’re having trouble connecting, it’s possible that your IP address has been blocked. This is more likely if you’re using a VPN, Tor, or I2P.

Type /join #ebooks in the chat box

5.png To search for a specific eBook, type @search followed by the title or keywords of the book you’re looking for. For example, if you’re interested in finding a book from the Harry Potter series, you can type @search Harry Potter.

Try to find the book with just one search to avoid overwhelming the servers.

5.png

A window will appear; simply click the “Accept” button. Once you do, a zip file will be downloaded and saved to your default download folder.

7.png Extract the text file from the zip file, and then open the text file.

8.png Identify the book you want to obtain, and then copy the corresponding line of text. In my case, I want to get “Harry Potter and the Chamber of Secrets”, so I will copy the line !DeathCookie J K Rowling - Harry Potter and the Chamber of Secrets.epub and paste it into the chat box.

9.png Click on the file, and then click the “Accept” button. The file will then be downloaded to your default downloads folder, and you’ll have it.

4books

I will maintain and update this guide on both Lemmy and my NotABug repository.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      8
      ·
      7 months ago

      The IRC bots that run these sharing channels will crap themselves if hit with any kind of automation. Many/most have limited bandwidth and use a queueing system that only serves one or two downloads at a time and a small queue (it varies, some may have a 10 slot queue, some may have 50 or 100).

      • Melody Fwygon@lemmy.one
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        You can automate this; but you have to make sure that the automation you create is going to respect the ratelimits. I’d recommend something simple like using a command alias or short script written for your specific IRC client.

        It’s what I used to do with that sort of thing; and there are plenty of well known Open Source scripts in the wild as well

        As an example; I would use mIRC with it’s scripting system and write my own event trigger scripts to automatically request, wait for and then accept the DCC chat requests and route them appropriately in the interface. There were also scripts that helped with getting the lists; unpacking them, and displaying those lists in my client…so I didn’t have to extract the text from the zip myself, and could select what I needed from the bot.

        All of this was lightweight automation that was intended not to flood the bot with commands and fed into command queueing modules that let the bots have time to process.

        Sometimes in those days you could get actually (+b)anned, Auto/KILL’ed or /(G/K):LINE’ed for causing a bot to crash…so you had to be careful and respectful with regard to scripts.

        TL;DR; know your bot, source channel & network rules, and write your own scripts for safety or read any scripts you import in carefully and understand what they’re doing.

      • captainnapalm83@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        Fair. Might be worth going through this process for those books that readarr doesn’t find. I’m using MaM which has most books already.

        • lemmyvore@feddit.nl
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          FWIW I don’t recall ever finding anything obscure on there so I think it’s mostly mainstream stuff.