/streamtape

Node API wrapper for Streamtape.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Streamtape.js

Node API wrapper for Streamtape.

You can also check out streamtape-dl for CLI use.


Install

npm i streamtape

Usage

For use in a project

const st = require("streamtape")

For use in a module

import st from "streamtape"

Methods

download() Generates direct download link

Params: [url, user, pass]

await st.download(url, user, pass)
    .then(console.log)
    .catch((error) => console.log(error))

Get user & pass from Streamtape.


Uninstall

npm uninstall streamtape

Copyright (C) 2023  Zubin

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.