Live data from Hacker News

Stream PirateBay movies directly from CLI

news.ycombinator.com

11–20 of 223 posts

Re: Stream PirateBay movies directly from CLI

#12
post #6

It seems a lot of the magic behind this comes from Peerflix - a node.js library for streaming torrents. This is mostly a CLI wrapper for searching piratebay, parsing the results, and then streaming using peerflix. https://github.com/mafintosh/peerflix I'm curious why thepiratebay npm package wasn't used instead: https://github.com/t3chnoboy/thepiratebay That said, great usage of cheerio for parsing the returned HTML…

A lot of credit for most FOSS software is the various libraries and programming languages they are built upon: I don't think you can take anything away from this project because of it. Indeed if you take the time to look into Peerflix's dependencies (https://github.com/mafintosh/peerflix/blob/master/package.js...) you'll see that it, too, is based upon airplay-js, parse-torrent, torrent-stream, amongst others.

We're at a rather convenient point in time where building a program/app is an exercise in coming up with an idea, researching the alternative components it can be built out of and then spending the time getting them to play nicely together. I wouldn't underestimate the amount of work that entails.

Re: Stream PirateBay movies directly from CLI

#13
post #4
post #3

A CLI version of Popcorn Time, published using the real life identity of the author? Brave move.

And using a Hollywood movie as an example? If he wanted to claim "it's just a tool, usable for anything" he should have used something like Big Buck Bunny as the example.

He should probably change the preview image from selecting from which high res stream of inception he wants then.

Re: Stream PirateBay movies directly from CLI

#14

This doesn't work for me, because http://thepiratebay.se is hardcoded in the code and that mirror is blocked in my location. I filed an issue. https://github.com/weslleyaraujo/pirateflix/issues/3

Or maybe they could use [Node.js core DNS](https://nodejs.org/api/dns.html#dns_dns_setservers_servers) module to resolve the domain, setting something like [censurfridns](http://www.censurfridns.dk/) as a temporary server.

I think this module is very immoral, however, so I'm not going to contribute...

Re: Stream PirateBay movies directly from CLI

#15
Dislike this kind of story appearing in HN. We're all well educated people with high earning potential who should be capable of buying movies, not using our talent to rip them off.

I'd hate to see HN develop a bad reputation because of stuff like this.

Re: Stream PirateBay movies directly from CLI

#16
post #9

I'm deeply concerned about popularizing torrent streaming. A few leechers breaking "rarest-first" might not cause much harm. But if most leechers become streamers, torrents will lose their efficiency in distributing less-popular content. Transmission implemented a "streaming" feature once, that didn't actually stream. It just stopped fetching pieces "with the same rarity" randomly. They still got too much heat for ad…

This could be true, however I think that if all this torrent streaming sticks to same behavior such as that of XBMC torrent [1] (i.e. streaming for the whole duration of the movie) the swarm will end up stronger, not weaker.

[1] https://github.com/steeve/xbmctorrent/blob/e6bcb1037668959e1...

Re: Stream PirateBay movies directly from CLI

#17
post #12
post #6

It seems a lot of the magic behind this comes from Peerflix - a node.js library for streaming torrents. This is mostly a CLI wrapper for searching piratebay, parsing the results, and then streaming using peerflix. https://github.com/mafintosh/peerflix I'm curious why thepiratebay npm package wasn't used instead: https://github.com/t3chnoboy/thepiratebay That said, great usage of cheerio for parsing the returned HTML…

A lot of credit for most FOSS software is the various libraries and programming languages they are built upon: I don't think you can take anything away from this project because of it. Indeed if you take the time to look into Peerflix's dependencies ( https://github.com/mafintosh/peerflix/blob/master/package.js... ) you'll see that it, too, is based upon airplay-js, parse-torrent, torrent-stream, amongst others. We'r…

Great point. This is definitely nice work, and it looks like a great usage of existing tools. Did not intend to come off disregarding the effort.

Re: Stream PirateBay movies directly from CLI

#19
post #15

Dislike this kind of story appearing in HN. We're all well educated people with high earning potential who should be capable of buying movies, not using our talent to rip them off. I'd hate to see HN develop a bad reputation because of stuff like this.

I disagree (particularly about your assumption that "we're all well educated people with high earning potential"), but I'm sorry you're being downvoted.

Re: Stream PirateBay movies directly from CLI

#20

This doesn't work for me, because http://thepiratebay.se is hardcoded in the code and that mirror is blocked in my location. I filed an issue. https://github.com/weslleyaraujo/pirateflix/issues/3

More concerned about the lack of https. Pirate bay might be legal in your country, but that doesn't mean you want snoopers logging your porn searches.
Post reply on HN