box-video-downloader

command module
v0.0.0-...-b465e2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 14 Imported by: 0

README

Box Video Downloader

Personal use: only available in Letus

Download the video on box shared inside Letus

Requirement

  • Go
  • FFmpeg(to merge video and audio)

Getting Started

git clone https://github.com/huhugiter/box-video-downloader.git

Copy your box.com cookies from Chrome into cookies file

Important: box.com cookies not letus.tus.ac.jp cookies

go run main.go -i <URL>

Example URL: https://tus.app.box.com/s/xxxxxxxxxxxxxxxxxxxxxxxx Use , to split url, Example: -i <URL>,<URL>,<URL>

temp videos will be downloaded into temp/ folder, and complete video will output repo root folder, after finished temp videos will be deleted.

Not download multi videos at the same time, the box.com has limit that will loss data

FFmpeg

If you perfer to use docker, use command below

go run main.go -d -i <URL>

it will use jrottenberg/ffmpeg:4.0-scratch to merge video and audio.

How to copy cookies

  • Hit F12 or Right-click page and Inspect to open the Developer Tools
  • Repeat the request with the Network tab open.
  • Right-click the relevant request (in the list on the left-hand side).
  • Choose Copy as cURL.
  • Extract the cookie from the generated Cookie header option.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL