Skip to main content

Unofficial Python API/SDK for fzmovies.net

Project description

fzmovies-api

Python version Python Test License PyPi Latest release release date Black Python-publish Downloads Downloads

Unofficial Python API/SDK for fzmovies.net

from fzmovies_api import Auto

Auto(
     query="Fast and Furious 5",
     quality="720p",
  ).run()
  
# Will show download progressbar

Installation

$ pip install fzmovies-api[all]

Alternatively, you can download binaries for your system from here.

Usage

CLI

  • Basic case yet very handy

    $ python -m fzmovies_api download <QUERY>
    # e.g python -m fzmovies_api download "Thor - Love and Thunder"
    

[!TIP] Shorthand for python -m fzmovies_api is fzmovies

$ python -m fzmovies_api download --help

Usage: python -m fzmovies_api download [OPTIONS] QUERY

  Perform search and download first movie in the search results

Options:
  -s, --searchby [Name|Director|Starcast]
                                  Query search-by filter - Name
  -c, --category [All|Bollywood|Hollywood|DHollywood]
                                  Query movie category - All
  -q, --quality [480p|720p]       Movie file download quality - 720p
  -o, --output TEXT               Filename for saving the movie contents to
  -d, --directory TEXT            Directory for saving the movie contents -
                                  pwd
  -z, --chunk-size INTEGER        Chunk_size for downloading files in KB - 512
  -r, --resume                    Resume downloading incomplete files - False
  -q, --quiet                     Not to stdout anything - False
  -y, --yes                       Okay to all prompts - False
  --help                          Show this message and exit.

[!NOTE] fzmovies_api provides a lot more than what you've just gone through here. Documenting isn't my thing, but I will try to update it as time goes by. Additionally, I cannot document this any better than the code itself; therefore, consider going through it.

# Search by Starcast

from fzmovies_api import Search

search = Search(
    query="Jason Statham",
    searchby="Starcast"
)

print(
    search.results
)

# Output
"""
<SearchResults movies=[<MovieInSearch title="Fast and Furious Presents - Hobbs and Shaw",year=2019> | <MovieInSearch title="Fast X",year=2023> | <MovieInSearch title="The Fate of the Furious [Part 8]",year=2017> | <MovieInSearch title="Mechanic Resurrection",year=2016> | <MovieInSearch title="The Meg",year=2018> | <MovieInSearch title="Wrath of Man",year=2021> | <MovieInSearch title="The Beekeeper",year=2024> | <MovieInSearch title="Operation Fortune Ruse de guerre",year=2023> | <MovieInSearch title="The Expendables 2",year=2012> | <MovieInSearch title="The Expendables 3",year=2014> | <MovieInSearch title="Meg 2 The Trench",year=2023> | <MovieInSearch title="Homefront",year=2013> | <MovieInSearch title="Parker",year=2013> | <MovieInSearch title="Safe",year=2012> | <MovieInSearch title="The Expendables 1",year=2010> | <MovieInSearch title="The Transporter 2002",year=2002> | <MovieInSearch title="Transporter 3 2008",year=2008> | <MovieInSearch title="Death Race",year=2008> | <MovieInSearch title="Expend4bles",year=2023> | <MovieInSearch title="Transporter 2 2005",year=2005>]>
"""

Disclaimer

This project is not affiliated with or endorsed by fzmovies.net or its owners. The API may change without notice, and this project does not guarantee compatibility with all future updates. The developers of this project are not responsible for any damages or losses resulting from the use of this API. This project is provided AS IS, without warranty of any kind, express or implied.

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

fzmovies_api-0.0.4.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

fzmovies_api-0.0.4-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file fzmovies_api-0.0.4.tar.gz.

File metadata

  • Download URL: fzmovies_api-0.0.4.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fzmovies_api-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4966ff60cf5ac5e2b82a2b0b44743424b99caad96988019841e4ff9554bffab3
MD5 ebb265cfaa69a9c67d958256d7ed3387
BLAKE2b-256 45e6fe585ff366fa254b333be43b05f19e049bd39cd98e7cfe7a8530a7980b33

See more details on using hashes here.

File details

Details for the file fzmovies_api-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for fzmovies_api-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ba234fae2eb50dc1a94232129ccee0c7b0acfcbf2ccdba19cc4102b33972989e
MD5 8983c5622fc4e553ca78b84f98538e4d
BLAKE2b-256 83d58a99a2aae0dfa72d4b5f0611eef78a6de6683c32f5233ba7cff1be1403d5

See more details on using hashes here.

Supported by

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