Coder Social home page Coder Social logo

zippyshare-scraper's Introduction

Zippyshare Scraper :

This is a simple script to get direct download links to files from zippyshare. If you've used zippyshare to download anything then you know that you have to go to their page and click on the download now button to get the download started.

This script instead extracts the real download link from the page. You can directly feed that link to a downloader to get your download started.

This script is particularly useful when working on remote servers where you don't have access to gui software.

NOTICE :

Zippyshare keeps changing their source code. So while trying to decode links, try running all three scripts. And if you still get error, open a issue and I'll fix the code. I will also think of a way to combine these all into a one script. But in the meanwhile, you can use these as is or write a script based on these yourself.

Dependencies :

  1. You need Python 3 environment to execute the script. You can easily install it from here.
  2. You need the following packages installed.
	pip install requests
	pip install bs4

Usage :

  • You can run the script directly like - python zippyshare.py
  • You have 3 options to enter links.
  1. Using file: You can put the zippyshare links in a file. Each link on a new line.

  2. Using list: Enter link in the terminal one by one

  3. Using dlc: Provide the path of the dlc file.

  • After the links are processed, the result is displayed on terminal as well as the direct downloadable links are written to a links.txt file in the current working directory.

Examples :

Example of unprocessed link (this type of link will be input): http://www120.zippyshare.com/v/7DpZTYfi/file.html

Example of Direct Downloadable link: http://www120.zippyshare.com/d/7DpZTYfi/4656/Ghost.In.The.Shell.S2.x265.7z.003

(Optional) :

  • You can then download from links.txt as follows:

aria2c -i links.txt --file-allocation=none -c --auto-file-renaming=false

wget -nc -i links.txt

  • Or you can download using any other downloader you prefer.

Known Issues :

  • You have to run the script on the same system which you are using for downloading otherwise some links may not work. ( Maybe Zippyshare uses IP logging to enable downloads ¯\_(ツ)_/¯ )

  • The direct download links stop working after a few hours ( About 3-4 hrs, maybe). Don't know the exact time period. At that point, you can rerun the script to get new download links to the same files which will work without problem.

  • The script runs into an error when the "File not exist" zippyshare page loads. I am working on a way to handle that situation so it gives appropriate output.

License :

This project is licensed under the terms of the MIT license.

zippyshare-scraper's People

Contributors

cartmanishere avatar

Watchers

 avatar  avatar  avatar

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.