2 releases

0.1.2 Mar 9, 2022
0.1.1 Aug 5, 2021

#2273 in #cli

MIT license

15KB
264 lines

popcorn_cli

Thin "Popcorn Time" client

Install

cargo install popcorn_cli

Download

https://github.com/Ru5ty0ne/popcorn_cli/releases/

Usage

Show list of available resolutions for the movie "Mr.Nobody":

popcorn movie tt0485947

Initiate download by opening magnet-link in browser:

popcorn movie tt0485947 --resolution 1080p

Show list of available resolutions for the first episode in first season of "Loki" series:

popcorn show tt9140554 --season 1 --episode 1

Initiate download by opening magnet-link in browser:

popcorn show tt9140554 --season 1 --episode 1 --resolution 1080p

То же самое, только видео будет с русской озвучкой:

popcorn show tt9140554 --season 1 --episode 1 --resolution 1080p --lang ru

How to find imdb id for movie/show

tt0485947, tt9140554, etc

Google name of movie/show and add imdb to search request like Rick and Morty imdb. First link will lead to IMDB.com and you should follow it. You will see something like this in your url bar:

Url

tt2861424 part is what you need.

Or you can use following command:

popcorn search "rick and morty"

API Server

Currently it using https://movies-api.tk but you can change request destination with --domain or -d argument:

popcorn --domain https://movies-api.tk movie tt0485947

Dependencies

~9–22MB
~307K SLoC