Skip to content

CancerSurvivorFTW/zippyshare-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A module to scrape zippyshare links.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%