zs-extract

Zippyshare download data extractor

Usage no npm install needed!

<script type="module">
  import zsExtract from 'https://cdn.skypack.dev/zs-extract';
</script>

README

zs-extract

Zippyshare download data extractor

npm node

size downloads

Build Status

Overview

This module simplifies extracting download info from a Zippyshare link. Instead of parsing their ever-changing JavaScript for the variables to compute the download URL, this module uses Node's VM functionality to safely emulate a browser in a sandboxed environment, making it much more resilient to changes in the obfuscated download link generation code.

Usage

import zsExtract from 'zs-extract';

const info = await zsExtract.extract(
    'https://www85.zippyshare.com/v/eE67Qy6f/file.html'
);

console.log(info); // { download: 'https://www85.zippyshare.com/d/eE67Qy6f/816592/jmmb%20avatar.png', filename: 'jmmb avatar.png' }

Bugs

If you find a bug or have compatibility issues, please open a ticket under issues section for this repository.

License

Copyright (c) 2019-2021 JrMasterModelBuilder

Licensed under the Mozilla Public License, v. 2.0.

If this license does not work for you, feel free to contact me.