vikstrous / pirate-get

A command line interface for The Pirate Bay
GNU Affero General Public License v3.0
337 stars 53 forks source link

fix saving magents and torrents to a file #96

Closed vikstrous closed 7 years ago

vikstrous commented 7 years ago

fix #95

I haven't had a chance to test this at all because I recently switched to nixos and I'm still figuring stuff out, but this should work. Can someone confirm that it works? Unfortunately we don't have tests for this.

rnhmjoj commented 7 years ago

It's ok however I haven't been able to find a single torrent that was cached by torcache in the top 100 ones. Maybe we should use something else to download the files.

rnhmjoj commented 7 years ago

I use this nix expression to test pirate-get on NixOS:

{ pkgs ? import <nixpkgs> {} }:
with pkgs.lib;

pkgs.python3Packages.buildPythonPackage {
  name = "pirate-get";
  src = ./.;

  doCheck = false;

  buildInputs = with pkgs.python3Packages;
    [ colorama beautifulsoup4
     veryprettytable flake8
    ];

Save it in the project root as shell.nix, run nix-shell and your ready to go.

vikstrous commented 7 years ago

Thanks for the nix expression! I think torcache.net might be dead. Their whois still exists, but their domain doesn't point at anything.

vikstrous commented 7 years ago

Update: Done. Thankfully I documented the release process so it was much simpler this time: https://github.com/vikstrous/pirate-get/wiki/Releasing