florinutz / filme

Filme provides utilities for torrenting movies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filme Build Status codecov

A movie torrenting utility.

Filme is a little torrenting helper I started writing for myself some time ago. The one solid feature it has right now is the torrent searching, which basically crawls 1337x.to from the cli.

It can search for torrents (filme help search) and display details about any of the search results (filme help detail).

Install

Get it from the Snap Store

snap install filme

build from source

Run make as an entry point:

make binary
sudo mv build/filme-linux-amd64 /usr/local/bin/filme

Usage

Search

List all items matching "1080p". Crawl first 20 pages:

filme search 1080p --page-min 1 --page-max 20

Please crawl 1337x politely by using the --reqs-* crawler settings. They set delays and parallelism. You can also set the user agent, but leaving it empty will use valid random ones from different browsers.

Display details

Display one of the items:

filme detail https://1337x.to/torrent/4287659/Honey-Boy-2019-1080p-WEBRip-5-1-YTS-YIFY/

will get you

Gemini Man (2019) [WEBRip] [1080p] [YTS] [YIFY]

id: 4129693
magnet: magnet:?xt=urn:btih:671E6D130005810236C19F2B706AB5552CA1472A&dn=Gemini+Man+%282019%29+%5BW...

seeders: 14594
leechers: 7396

You can also get its imdb link if you have an OMDB api key into the OMDB_API_KEY env var:

OMDB_API_KEY=84824e9a filme detail https://1337x.to/torrent/4287659/Honey-Boy-2019-1080p-WEBRip-5-1-YTS-YIFY/
...
Imdb info:
https://www.imdb.com/title/tt1025100/ (2019) Gemini Man

Caching

Everything is cached in ~/.cache/filme and there is currently no way to avoid this, so please delete this folder whenever you want fresh results.

rm -rf ~/.cache/filme

Keybase PGP Keybase XLM

About

Filme provides utilities for torrenting movies


Languages

Language:Go 97.8%Language:Makefile 1.2%Language:Shell 0.7%Language:Dockerfile 0.3%