Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

mansuf/zippyshare-downloader

Repository files navigation

pypi-total-downloads python-ver pypi-release-ver

zippyshare-downloader

Download file from zippyshare directly from python

Table of Contents

Key Features

In zippyshare-downloader you can:

  • download file from Zippyshare (Yes of course).
  • Extract filename, date uploaded, file size, and downloadable url information from given url.
  • Fast Download, allows you to download in 2 connections at same time simultaneously.

Minimum Python version

3.5.x

Installation

Python Packages Index (PyPI)

pip install zippyshare-downloader

From the source

Clone the repository

git clone https://github.com/mansuf/zippyshare-downloader.git
cd zippyshare-downloader

And then run setup.py

python setup.py install

NOTE: If you think zippyshare-downloader are already downloaded with latest version, but the app doesn't seems work properly (like this case #11). You can reinstall zippyshare-downloader by following this command:

# For Windows
py -3 -m pip cache purge zippyshare_downloader
py -3 -m pip uninstall zippyshare-downloader
py -3 -m pip install -U zippyshare-downloader

# For Linux / Mac OS
python3 -m pip cache purge zippyshare_downloader
python3 -m pip uninstall zippyshare-downloader
python3 -m pip install -U zippyshare-downloader

If still doesn't work properly that means Zippyshare change their code, you can open issue here

Simple Usage

Command Line Interface (CLI)

Read here for more informations

zippyshare-dl "insert zippyshare url here"

# or

zippyshare-downloader "insert zippyshare url here"

# Use this if `zippyshare-dl` and `zippyshare-downloader` didn't work

python -m zippyshare_downloader "insert zippyshare url here"

Embedding (API)

Use zippyshare-downloader in your python script

Read here for more informations

from zippyshare_downloader import extract_info, extract_info_coro

# by default, parameter download is True
file = extract_info('insert zippyshare url here', download=True)

print(file)

# Output: <Zippyshare File name="..." size="...">

# async version
async def get_info():
    file = await extract_info_coro('insert zippyshare url here', download=True)
    print(file)

Links

FAQ

Q: I always getting NameError: The use of "bla bla" is not allowed, what should i do ?
A: Zippyshare always change their code, Please update to last version, if your zippyshare-downloader is latest version, then open a issue here