Giter Site home page Giter Site logo

uptobox-dl's Introduction

uptobox-dl

Overview

An Uptobox batch downloader. Uptobox allows, for free members, 30 min to wait before each download.

With uptobox-dl, you're able to download multiple uptobox/uptostream links without any other action other than grabbing the links and running uptobox-dl.

Note: Uptobox is a file hosting provider.

The only dependency is .NET runtime >= 3.1, thus it can be run from Linux, Windows, macOS.

Example

With multiple links

$ ./uptobox-dl -t <my_user_token> https://uptobox.com/<filecode_1> https://uptostream.com/iframe/<filecode_2>
Start processing https://uptobox.com/<filecode_1>
Got waiting token, awaiting for 00:08:46 - until 3:17:23 PM
Got waiting token, awaiting for 00:00:31 - until 3:17:54 PM
396752005B/396752005B: 100%
Downloaded <my_file_1.ext>

Start processing https://uptostream.com/iframe/<filecode_2>
Got waiting token, awaiting for 00:25:42 - until 3:47:55 PM

Specifying an output directory

$ ./uptobox-dl --output-directory /tmp -t <my_user_token> https://uptobox.com/<filecode>
Start processing https://uptobox.com/<filecode>
5B/5B: 100%
Downloaded /tmp/myfile

Usage

CLI

./uptobox-dl -t <my_user_token> [my_links...]

./uptobox-dl --help
uptobox-dl 1.2.0
Copyright (C) 2022 uptobox-dl

  -v, --verbose         Set output to verbose messages.

  -d, --debug           Print debug data.

  --output-directory    Output directory (defaults to the current working directory if unset)

  -t, --token           Required. Uptobox user token. See
                        https://docs.uptobox.com/?javascript#how-to-find-my-api-
                        token

  --help                Display this help screen.

  --version             Display version information.

  value pos. 0          Uptobox links to download

Why do I need a user token?

It allows you to speed up the time waiting for downloads (30min between each download instead of >1h). It's free, you just need to create an Uptobox account.

Run from release artifacts

Install the latest dotnet runtime: https://dotnet.microsoft.com/download/dotnet If you don't want to install the dotnet runtime, build from source as described in the next section and use --self-contained true. The resulting artifacts can be copied to the target machine and run without any dependency.

Go to latest release, download the .tar.gz and extract it. You may run ./uptobox-dl --help afterwards.

Build from source

Install dotnet-sdk: https://dotnet.microsoft.com/download/dotnet

git clone [email protected]:Aerion/uptobox-dl.git
# See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-publish for the list of options
# linux-x64 for "mainstream" linux, use win-x64 for Windows. See https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#using-rids for the full list
# use self-contained true if your target machine won't have .NET runtime installed, see https://docs.microsoft.com/en-us/dotnet/core/deploying/#publish-self-contained
dotnet publish uptobox-dl/uptobox-dl.csproj -c Release -r linux-x64 # --self-contained true
cd uptobox-dl/bin/Release/*/linux-x64
./uptobox-dl --help

uptobox-dl's People

Contributors

aerion 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.