Skip to main content

123Cine.to movie & TV downloader for Termux — fast CLI with fzf picker

Project description

cine-tmux

Download movies and TV shows from 123cine.to directly in your Termux terminal.

cine "avengers endgame"
cine --browse movie
cine --browse tv --genre action
cine "breaking bad" --type tv -e 1-10
cine "inception" --quality 720p --play

Features

  • Fast search — no browser, uses cloudscraper to bypass Cloudflare
  • Browse latest movies/TV from the home page or by genre (action, drama, thriller, …)
  • fzf picker — fuzzy-find titles, seasons, and episodes interactively
  • Batch download TV episodes with --episodes 1-10 or 1,3,5
  • Quality selection — 1080p / 720p / 480p / best
  • Stream directly in mpv with --play
  • HLS downloader — pure Python, concurrent segments, tqdm progress bar
  • Token caching — browser only opens once per title, token reused for days
  • Playwright only for auth-gated calls (episode link IDs, embed URL); everything else is pure Python

Install

pip install cine-tmux
playwright install chromium

On Termux:

pkg install python fzf mpv
pip install cine-tmux
playwright install chromium

Setup (optional — for full access)

Some content requires a 123cine.to account. Run:

cine --setup

Then paste your session cookie from the browser DevTools (Application → Cookies → 123cine.to).


Usage

cine "movie title"               search and download interactively
cine --browse movie              browse latest movies from home page
cine --browse tv                 browse latest TV shows
cine --browse movie --genre action  browse action movies
cine "inception" --quality 720p  download at 720p
cine "naruto" --type tv -e 1-10  batch download episodes 1-10
cine "interstellar" --play       stream in mpv
cine --setup                     save session cookie for auth
cine --config show               show current config
cine --help                      all options

Options

Flag Description
query Title to search for
--browse movie|tv Browse home page listings
--genre NAME Filter browse by genre
--type movie|tv Filter search results
--quality QUALITY best, 1080p, 720p, 480p
--episodes RANGE Episode range: 1, 1-5, 1,3,5
--output DIR Download directory
--play Stream in mpv instead of downloading
--player NAME Media player (default: mpv)
--server N Which streaming server to use (0-based)
--no-interactive Auto-select first result (batch mode)
--setup Save session cookie
--verbose Debug logging

How it works

  1. Search / Browse — CloudScraper (no browser) hits the REST API or parses home page HTML
  2. Episodes list — CloudScraper + cached signed token (extracted once via Playwright)
  3. Streaming links — Playwright intercepts /api/v1/episodes/{id} (needs auth cookie)
  4. Embed URL — Playwright intercepts /api/v1/links/{id}
  5. m3u8 capture — Playwright opens embed page, captures HLS playlist URL
  6. Download — pure Python HLS downloader, concurrent segment fetching

Config

Config file: ~/.config/cine-tmux/config.ini

[behavior]
download_dir = ~/Downloads/cine-tmux
quality = best
player = mpv
headless = true
workers = 8
verbose = false

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cine_tmux-1.0.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cine_tmux-1.0.0-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file cine_tmux-1.0.0.tar.gz.

File metadata

  • Download URL: cine_tmux-1.0.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cine_tmux-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1e0c6b196a7c3adb881786bb5906910b47725104d16a23d3954c3dbbc8a1253e
MD5 730869dd1d12f8ee1ea01713dadf43ee
BLAKE2b-256 e541e5f9495dbee574eb18e9fc19ca7262c9d23e7995c848efca35a86ae1f2b4

See more details on using hashes here.

File details

Details for the file cine_tmux-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cine_tmux-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cine_tmux-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da6bb800cd4d025533580ce7bf9b60037b2119b6db9c078bf285ca5bb6e87cc9
MD5 62d0b8c82e171d81483c560601a0cd46
BLAKE2b-256 f4947d4b97ac1ff2f788c648c6b69643d2e8aefdaf599184cc128beb02c136d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page