Skip to main content

Unofficial wrapper for moviebox.ph - search, discover and download movies, tv-series and their subtitles.

Project description

moviebox-api

Unofficial wrapper for moviebox.ph - search, discover and download movies, tv-series and their subtitles.

PyPI version PyPI - Python Version PyPI - License Hits Code Coverage Downloads

Features

  • Search and discover movies and tv-series
  • Download movies & tv-series and their subtitles
  • Fully asynchronous
  • Native pydantic modelling of response

Developers

from moviebox_api import Auto

async def main():
    auto = Auto()
    movie_saved_to, subtitle_saved_to = await auto.run("Avatar")
    print(movie_saved_to, subtitle_saved_to, sep="\n")
    # Output
    # /home/smartwa/.../Avatar - 1080P.mp4
    # /home/smartwa/.../Avatar - English.srt

if __name__ == "__main__":
    import asyncio

    asyncio.run(main())

Commandline

# $ python -m moviebox_api --help


Usage: python -m moviebox_api [OPTIONS] COMMAND [ARGS]...

  Search and download movies/series and their subtitles

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  download-movie   Search and download movie.
  download-series  Search and download tv series.

Download Movie

$ python -m moviebox_api download-movie <Movie title>
# e.g python -m moviebox_api download-movie Avatar
# python -m moviebox_api download-movie --help

Usage: python -m moviebox_api download-movie [OPTIONS] TITLE

  Search and download movie.

Options:
  -q [WORST|BEST|360P|480P|720P|1080P]
                                  Media quality to be downloaded : BEST
  -d, --directory DIRECTORY       Directory for saving the movie to : PWD
  -x, --language TEXT             Subtitle language filter
  --caption / --no-caption        Download caption file. : True
  --caption-only                  Download caption file only and ignore movie
                                  : False
  -y, --yes                       Do not prompt for movie confirmation : False
  -h, --help                      Show this message and exit.

Download Series

$ python -m moviebox_api download-series <Series title> -s <season offset> -e <episode offset>
# e.g python -m moviebox_api download-movie Avatar -s 1 -e 1
# python -m moviebox_api download-movie --help


Usage: python -m moviebox_api download-series [OPTIONS] TITLE

  Search and download tv series.

Options:
  -s, --season INTEGER RANGE      TV Series season filter  [1<=x<=1000;
                                  required]
  -e, --episode INTEGER RANGE     Episode offset of the tv-series season
                                  [1<=x<=1000; required]
  -l, --limit INTEGER RANGE       Total number of episodes to download in the
                                  season : 1  [1<=x<=1000]
  -q [WORST|BEST|360P|480P|720P|1080P]
                                  Media quality to be downloaded : BEST
  -d, --directory DIRECTORY       Directory for saving the movie to : PWD
  -x, --language TEXT             Subtitle language filter : English
  --caption / --no-caption        Download caption file : True
  --caption-only                  Download caption file only and ignore series
                                  : False
  -y, --yes                       Do not prompt for tv-series confirmation :
                                  False
  -h, --help                      Show this message and exit.

Disclaimer

"All videos and pictures on MovieBox are from the Internet, and their copyrights belong to the original creators. We only provide webpage services and do not store, record, or upload any content." - Moviebox as on Sunday 13th, July 2025

Long live Moviebox spirit

Made with ❤️

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

moviebox_api-0.1.0.tar.gz (424.8 kB view details)

Uploaded Source

Built Distribution

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

moviebox_api-0.1.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file moviebox_api-0.1.0.tar.gz.

File metadata

  • Download URL: moviebox_api-0.1.0.tar.gz
  • Upload date:
  • Size: 424.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for moviebox_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf77cb67c8f4c904c2899b90b461c067648bedf03ef30f3afff04a87c386d838
MD5 ee2dcedf07bc582e9f0d4319a297452c
BLAKE2b-256 ca8159b0ece47cf18546f95daf8cc17608811e7b736e87d4eb838ebf4cf5650c

See more details on using hashes here.

File details

Details for the file moviebox_api-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for moviebox_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 814efbc817d4f7e984047a4f1b1a23709ddc68c1bc8dce3c17cac905a8535cdd
MD5 87e4e53dd9804870d3ed278633b59434
BLAKE2b-256 ae4558351558e8f55c134687c81b0e680ccc737113f683d467dd6be37e44bc88

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