Git Product home page Git Product logo

zs-dl's Introduction

ZS-DL

CLI Zippyshare downloader written in Python. JS execution and BSoup-FREE.
Windows binaries
Upload to Zippyshare with ZS-UL.
People have been seen selling my tools. DO NOT buy them. My tools are free and always will be.

Usage

Download two files to default directory:
ZS-DL.py -u https://www1.zippyshare.com/v/00000000/file.html https://www1.zippyshare.com/v/00000000/file.html

Download from text file to "G:\ZS-DL downloads" with HTTPS proxy:
ZS-DL.py -u G:\links.txt -o "G:\ZS-DL downloads" -p 0.0.0.0:8080

Download from DLC container and a single regular URL to default directory:
ZS-DL.py -u https://www1.zippyshare.com/v/00000000/file.html G:\1.dlc

 _____ _____     ____  __
|__   |   __|___|    \|  |
|   __|__   |___|  |  |  |__
|_____|_____|   |____/|_____|

usage: zs-dl.py [-h] -u URLS [URLS ...] [-o OUTPUT_PATH] [-ov] [-p PROXY]

optional arguments:
  -h, --help            show this help message and exit
  -u URLS [URLS ...], --urls URLS [URLS ...]
                        URLs separated by a space or an abs path to a txt
                        file.
  -o OUTPUT_PATH, --output-path OUTPUT_PATH
                        Abs output directory.
  -ov, --overwrite      Overwrite file if already exists.
  -p PROXY, --proxy PROXY
                        HTTPS only. <IP>:<port>.

zs-dl's People

Contributors

sorrow446 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zs-dl's Issues

Stopped working? Please fix

It seems that it is having some problem in getting download URL now.

URL failed.
Exception: Failed to get file URL. Down?

For every URL in links.txt
Please look into this.
Worked like a charm for me for months but now it's not working...

Auto retry URL if ZS returns a HTTP 500 error.

It has been my experience that Zippyshare throws a HTTP 500 error for roughly 1-5% of all requests at random. zs-dl.py does not currently handle this exception in the best possible way, failing to download files corresponding to these requests with output as below:

URL 27 of 105:
Failed.
HTTPError: 500 Server Error: Internal Server Error for url: https://www15.zippyshare.com/v/xxxx/file.html

My current workaround is passing my links through the script twice: zs-dl.py -u links.txt ; zs-dl.py -u links.txt. Now as you can imagine, while this does give me a very high success rate, it is highly inefficient because the script has to run through every link twice to get to the failed links. I propose that zs-dl.py retry the URL by itself in case ZS returns with a Internal Server Error which should ensure a higher reliability factor with minimal performance impact.

Thanks for this

Yes, much appreciated, but will this need updating over and over when Zippy changes, like the repo that motivated you to do this?

Exception: Failed to get file URL. File down or pattern changed

I think the pattern has change on zippyshare

URL 1 of 3:
URL failed.
Traceback (most recent call last):
File "zs-dl.py", line 183, in
main(url)
File "zs-dl.py", line 150, in main
file_url, fname = extract(url, server, id)
File "zs-dl.py", line 106, in extract
raise Exception('Failed to get file URL. File down or pattern changed.')
Exception: Failed to get file URL. File down or pattern changed.

can you check it?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.