# Lux | Fast and simple video download library and CLI tool written in Go

**URL:** <https://onehack.st/t/lux-fast-and-simple-video-download-library-and-cli-tool-written-in-go/292133>\
**Category:** Tools & Scripts\
**Tags:** tools, hacking, downloaders, streaming\
**Created:** [September 25, 2024, 8:26pm UTC](https://onehack.st/t/lux-fast-and-simple-video-download-library-and-cli-tool-written-in-go/292133 "2024-09-25T20:26:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [September 25, 2024, 8:26pm UTC](https://onehack.st/t/lux-fast-and-simple-video-download-library-and-cli-tool-written-in-go/292133/1 "2024-09-25T20:26:38Z")

</div>

# Lux

_Let there be Lux!_

[![Codecov](https://camo.githubusercontent.com/34dd3bce12ad449fcc7544c9c9b66dd30f2aa6d31739461e7d2b1eae161e49d4/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f69617769613030322f6c75782e7376673f7374796c653d666c61742d737175617265) ](https://codecov.io/gh/iawia002/lux)[![GitHub Workflow Status](https://camo.githubusercontent.com/5b3ec9f4574bf2869d6952853cb2e494dcba35387a859cb72bfdc544fdb6e86b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69617769613030322f6c75782f63692e796d6c3f7374796c653d666c61742d737175617265) ](https://github.com/iawia002/lux/actions)[![Go Report Card](https://camo.githubusercontent.com/7ca0cadf2ee2ecefebb560a598c0b712def743863b21fc86fc40efa5410ae8cf/68747470733a2f2f676f7265706f7274636172642e636f6d2f62616467652f6769746875622e636f6d2f69617769613030322f6c75783f7374796c653d666c61742d737175617265) ](https://goreportcard.com/report/github.com/iawia002/lux)[![GitHub release](https://camo.githubusercontent.com/f7931c53da2c5b6ad95e6ec01e8e6f89e487b85b2a38421a782d31fee2156bbb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f69617769613030322f6c75782e7376673f7374796c653d666c61742d737175617265) ](https://github.com/iawia002/lux/releases)[![Homebrew](https://camo.githubusercontent.com/d84d78ddd25822764eaf047b2891301c23f23e90be11495e3f2d6baa9d5f5374/68747470733a2f2f696d672e736869656c64732e696f2f686f6d65627265772f762f6c75782e7376673f7374796c653d666c61742d737175617265)](https://formulae.brew.sh/formula/lux)

👾 Lux is a fast and simple video downloader built with Go.

- [Installation](https://github.com/iawia002/lux#installation)
  - [Prerequisites](https://github.com/iawia002/lux#prerequisites)
  - [Install via `go install`](https://github.com/iawia002/lux#install-via-go-install)
  - [Homebrew (macOS only)](https://github.com/iawia002/lux#homebrew-macos-only)
  - [Arch Linux](https://github.com/iawia002/lux#arch-linux)
  - [Void Linux](https://github.com/iawia002/lux#void-linux)
  - [Scoop on Windows](https://github.com/iawia002/lux#scoop-on-windows)
  - [Chocolatey on Windows](https://github.com/iawia002/lux#chocolatey-on-windows)
  - [Cask on Windows/macOS/Linux](https://github.com/iawia002/lux#cask-on-windowsmacoslinux)

- [Getting Started](https://github.com/iawia002/lux#getting-started)
  - [Download a video](https://github.com/iawia002/lux#download-a-video)
  - [Download anything else](https://github.com/iawia002/lux#download-anything-else)
  - [Download playlist](https://github.com/iawia002/lux#download-playlist)
  - [Multiple inputs](https://github.com/iawia002/lux#multiple-inputs)
  - [Resume a download](https://github.com/iawia002/lux#resume-a-download)
  - [Auto retry](https://github.com/iawia002/lux#auto-retry)
  - [Cookies](https://github.com/iawia002/lux#cookies)
  - [Proxy](https://github.com/iawia002/lux#proxy)
  - [Multi-Thread](https://github.com/iawia002/lux#multi-thread)
  - [Short link](https://github.com/iawia002/lux#short-link)
    - [bilibili](https://github.com/iawia002/lux#bilibili)

  - [Use specified Referrer](https://github.com/iawia002/lux#use-specified-referrer)
  - [Specify the output path and name](https://github.com/iawia002/lux#specify-the-output-path-and-name)
  - [Debug Mode](https://github.com/iawia002/lux#debug-mode)
  - [Reuse extracted data](https://github.com/iawia002/lux#reuse-extracted-data)
  - [Options](https://github.com/iawia002/lux#options)
    - [Download:](https://github.com/iawia002/lux#download)
    - [Network:](https://github.com/iawia002/lux#network)
    - [Playlist:](https://github.com/iawia002/lux#playlist)
    - [Filesystem:](https://github.com/iawia002/lux#filesystem)
    - [Subtitle:](https://github.com/iawia002/lux#subtitle)
    - [Youku:](https://github.com/iawia002/lux#youku)
    - [aria2:](https://github.com/iawia002/lux#aria2)

- [Supported Sites](https://github.com/iawia002/lux#supported-sites)
- [Known issues](https://github.com/iawia002/lux#known-issues)
  - [优酷](https://github.com/iawia002/lux#%E4%BC%98%E9%85%B7)
  - [西瓜/头条视频](https://github.com/iawia002/lux#%E8%A5%BF%E7%93%9C%E5%A4%B4%E6%9D%A1%E8%A7%86%E9%A2%91)

- [Contributing](https://github.com/iawia002/lux#contributing)
- [Authors](https://github.com/iawia002/lux#authors)
- [Similar projects](https://github.com/iawia002/lux#similar-projects)
- [License](https://github.com/iawia002/lux#license)

## GitHub:

[https://github.com/iawia002/lux](https://github.com/iawia002/lux)
