I’m running a similar script, and it’s great. Takes a minute to find less popular films, but broadly works fine.

  • Arthur BesseA
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    i lol’d @ 3m when he says “to be honest, like, i don’t know how regex works” … but “as you can see we are getting it” (the search results).

    (fwiw at that moment he would be better served by using a negation class to match everything except the double quote that comes at the end of the href ([^"]+) rather than trying to make a class that includes all possible characters that might appear in a torrent’s title.)

    seriously, though, as cool as this script is, it’s cooler to seed.

    • GhastOP
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      I’m remaking the script right now with btfs as an option for those who don’t have peerflix in their distro’s package manager.

      Adding an option to leave something seeding would be good too, for some default time, like ‘7 days’, or perhaps a time proportional to the filesize, so you could add a series and leave it for a month.

      I guess you could use transmission-remote, but it won’t auto-play like btfs does. Any ideas for both auto-playing and long-term seeding?

      • Arthur BesseA
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        I’m sure there must be a torrent client that downloads things in-order and also seeds, but apparently the one this script is using (“peerflix”) doesn’t. Here is one of several open issues on the subject from 8 years ago where the author (who is a prolific javascript library author, btw) says he would have no problem with it being the default… and then asks for a PR that never came.

        • GhastOP
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          I’d really like to continue seeding while I watch my downloaded video;

          That’s better… but a week seems more sustainable.

          I suppose the best result would be to cut if anything has more than 20 seeders, keep for a week if it has 5, and seed forever while is has 1 or 2. I’m mostly worried about torrent health on the old book collections I occasionally download.