AyrA / ZippyShare

Synology ZippyShare Plugin
MIT License
6 stars 0 forks source link

ZippyShare

Synology ZippyShare Plugin

This Plugin allows you to download files from ZippyShare using your Synology NAS Downloader

Features

Download

Check the Releases Section for the latest Version of zippy.host

Installation

  1. Open your Synology Website
  2. Go to the Download Station
  3. Open the Settings
  4. Click on "File Hosting"
  5. Click "Add"
  6. Select zippy.host from your Computer

Updating

  1. Open your Synology Website
  2. Go to the Download Station
  3. Open the Settings
  4. Click on "File Hosting"
  5. Search for the Zippyshare plugin
  6. Click "Delete" and confirm action
  7. Select zippy.host from your Computer

Testing

As of now, the download script will be placed in /usr/syno/etc/packages/DownloadStation/download/userhosts/zippyshare

  1. Enable SSH on your NAS
  2. Connect via SSH to your NAS
  3. navigate to /usr/syno/etc/packages/DownloadStation/download/userhosts/zippyshare

Getting Information

This will display the same information that is relayed back to Download Station

Run php zippy.php info https://... (supply any valid ZippyShare URL)

Downloading File

This is a "Debug only" Feature. The Download Station will use its own method of downloading files

Run php zippy.php get https://... (supply any valid ZippyShare URL). To make the script overwrite existing files, add the -f argument at the end

Problematic URLs

The script zippy.js from this repository can be used to validate URLs that refuse to work with the plugin. Call using phantomjs zippy.js <url> -v If it reports "Valid: No", it indicates that the formula was changed and the plugin needs adjustment.

Building from source

You can either build it manually or automatically

Automatic Building

  1. Download and install the latest 64 bit Version of 7-Zip
  2. Run build.bat

Manual Building

  1. Compress INFO and zippy.php into a tar archive zippy.tar
  2. Compress zippy.tar into the gzip archive zippy.tar.gz
  3. Rename zippy.tar.gz to zippy.host
  4. Delete zippy.tar