Download file from zippyshare directly from python
Project description
zippyshare-downloader
Download file from zippyshare directly from python
Installation
pip install zippyshare-downloader
Command Line Interface (CLI) Usage
zippyshare-dl "https://www54.zippyshare.com/v/bbvLtnKG/file.html" --verbose --progress-bar
zippyshare-downloader "https://www54.zippyshare.com/v/bbvLtnKG/file.html" --verbose --progress-bar
# do this if "zippyshare-dl" or "zippyshare-downloader" didn't work
python3 -m zippyshare_downloader "https://www54.zippyshare.com/v/bbvLtnKG/file.html" --verbose --progress-bar
# Output: {'name_file': ..., 'size': ..., 'date_upload': ..., 'download_url': ...}
Embedding Usage
Use zippyshare-downloader module in your python script
from zippyshare_downloader import Zippyshare
# By default, verbose is True, progress_bar is True, and replace is True
z = Zippyshare(verbose=True, progress_bar=True, replace=True)
# If you want to get info from Zippyshare URL
# and you want to download it
# do: z.extract_info('give Zippyshare URL here')
# see example below
# by default, download is True
info = z.extract_info('give zippyshare url here', download=True)
print(info)
# Output: {'name_file': ..., 'size': ..., 'date_upload': ..., 'download_url': ...}
# If you want to get info from Zippyshare URL
# BUT, you don't wanna download it
# do: z.extract_info('give zippyshare URL here', download=False)
# see example below
info = z.extract_info('give zippyshare url here', download=False)
...
# If you want to download from list or tuple urls
# do: z.download(['give zippyshare url here'])
# see example below
URLS = [
'give zippyshare url here',
'give zippyshare url here',
'give zippyshare url here',
'give zippyshare url here',
'give zippyshare url here',
]
z.download(URLS)
Minimum Python version
3.x
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for zippyshare-downloader-0.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576a0e3ec2de66fe0ea9132bd50c5c74ae1e0b60b1f09707e8c11ae5f863c5df |
|
MD5 | c3a44664c39bff3fc623216af98602c1 |
|
BLAKE2b-256 | 75793400527187170ed34de1bf1ddf10048fbeab5d98150ceea8e371261310bf |
Close
Hashes for zippyshare_downloader-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4442e0d7b4a830464af5d168d2a5ddaa1ca1b18c383455af598f2accbc58f71b |
|
MD5 | b89b91e72444318f68d38ce2a1efa981 |
|
BLAKE2b-256 | 3e9af8f65922ecc1bef9589a731e338e5cfa5699683d21004a009a4aaa471331 |