[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2091":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},2091,"lux","iawia002\u002Flux","iawia002","👾 Fast and simple video download library and CLI tool written in Go","",null,"Go",31402,3304,379,529,0,3,21,73,18,45,"MIT License",false,"master",[26,27,28,29,30,31,32,33,34,35,36,37,38],"bilibili","crawler","download","downloader","go","golang","iqiyi","qq","scraper","tumblr","video","youku","youtube","2026-06-12 02:00:37","\u003Ch1 align=\"center\">Lux\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Ci>Let there be Lux!\u003C\u002Fi>\u003C\u002Fp>\n\n\u003Cdiv align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcodecov.io\u002Fgh\u002Fiawia002\u002Flux\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002Fiawia002\u002Flux.svg?style=flat-square\" alt=\"Codecov\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fiawia002\u002Flux\u002Fci.yml?style=flat-square\" alt=\"GitHub Workflow Status\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fiawia002\u002Flux\">\n    \u003Cimg src=\"https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fiawia002\u002Flux?style=flat-square\" alt=\"Go Report Card\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Freleases\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Fiawia002\u002Flux.svg?style=flat-square\" alt=\"GitHub release\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fformulae.brew.sh\u002Fformula\u002Flux\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Fv\u002Flux.svg?style=flat-square\" alt=\"Homebrew\">\n  \u003C\u002Fa>\n\u003C\u002Fdiv>\n\n👾 Lux is a fast and simple video downloader built with Go.\n\n- [Installation](#installation)\n  - [Prerequisites](#prerequisites)\n  - [Install via `go install`](#install-via-go-install)\n  - [Homebrew (macOS only)](#homebrew-macos-only)\n  - [Arch Linux](#arch-linux)\n  - [Void Linux](#void-linux)\n  - [Scoop on Windows](#scoop-on-windows)\n  - [Chocolatey on Windows](#chocolatey-on-windows)\n  - [Cask on Windows\u002FmacOS\u002FLinux](#cask-on-windowsmacoslinux)\n- [Getting Started](#getting-started)\n  - [Download a video](#download-a-video)\n  - [Download anything else](#download-anything-else)\n  - [Download playlist](#download-playlist)\n  - [Multiple inputs](#multiple-inputs)\n  - [Resume a download](#resume-a-download)\n  - [Auto retry](#auto-retry)\n  - [Cookies](#cookies)\n  - [Proxy](#proxy)\n  - [Multi-Thread](#multi-thread)\n  - [Short link](#short-link)\n    - [bilibili](#bilibili)\n  - [Use specified Referrer](#use-specified-referrer)\n  - [Specify the output path and name](#specify-the-output-path-and-name)\n  - [Debug Mode](#debug-mode)\n  - [Reuse extracted data](#reuse-extracted-data)\n  - [Options](#options)\n    - [Download:](#download)\n    - [Network:](#network)\n    - [Playlist:](#playlist)\n    - [Filesystem:](#filesystem)\n    - [Subtitle:](#subtitle)\n    - [Youku:](#youku)\n    - [aria2:](#aria2)\n- [Supported Sites](#supported-sites)\n- [Known issues](#known-issues)\n  - [优酷](#优酷)\n  - [西瓜\u002F头条视频](#西瓜头条视频)\n- [Contributing](#contributing)\n- [Authors](#authors)\n- [Similar projects](#similar-projects)\n- [License](#license)\n\n## Installation\n\n### Prerequisites\n\nThe following dependencies are required and must be installed separately.\n\n- **[FFmpeg](https:\u002F\u002Fwww.ffmpeg.org)**\n\n> **Note**: FFmpeg does not affect the download, only affects the final file merge.\n\n### Install via `go install`\n\nTo install Lux, use `go install`, or download the binary file from [Releases](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Freleases) page.\n\n```bash\n$ go install github.com\u002Fiawia002\u002Flux@latest\n```\n\n### Homebrew (macOS only)\n\nFor macOS users, you can install `lux` via:\n\n```bash\n$ brew install lux\n```\n\n### Arch Linux\n\nFor Arch Users [AUR](https:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Flux-dl\u002F) package is available.\n\n### Void Linux\n\nFor Void linux users, you can install `lux` via:\n\n```\n$ xbps-install -S lux\n```\n\n### [Scoop](https:\u002F\u002Fscoop.sh\u002F) on Windows\n\n```sh\n$ scoop install lux\n```\n\n### [Chocolatey](https:\u002F\u002Fchocolatey.org\u002F) on Windows\n\n```\n$ choco install lux\n```\n\n### [Cask](https:\u002F\u002Fgithub.com\u002Faxetroy\u002Fcask.rs) on Windows\u002FmacOS\u002FLinux\n\n```sh\n$ cask install github.com\u002Fiawia002\u002Flux\n```\n\n## Getting Started\n\nUsage:\n\n```\nlux [OPTIONS] URL [URL...]\n```\n\n### Download a video\n\n```console\n$ lux \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=dQw4w9WgXcQ\"\n\n Site:      YouTube youtube.com\n Title:     Rick Astley - Never Gonna Give You Up (Video)\n Type:      video\n Stream:\n     [248]  -------------------\n     Quality:         1080p video\u002Fwebm; codecs=\"vp9\"\n     Size:            63.93 MiB (67038963 Bytes)\n     # download with: lux -f 248 ...\n\n 41.88 MiB \u002F 63.93 MiB [=================>-------------]  65.51% 4.22 MiB\u002Fs 00m05s\n```\n\nThe `-i` option displays all available quality of video without downloading.\n\n```console\n$ lux -i \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=dQw4w9WgXcQ\"\n\n Site:      YouTube youtube.com\n Title:     Rick Astley - Never Gonna Give You Up (Video)\n Type:      video\n Streams:   # All available quality\n     [248]  -------------------\n     Quality:         1080p video\u002Fwebm; codecs=\"vp9\"\n     Size:            49.29 MiB (51687554 Bytes)\n     # download with: lux -f 248 ...\n\n     [137]  -------------------\n     Quality:         1080p video\u002Fmp4; codecs=\"avc1.640028\"\n     Size:            43.45 MiB (45564306 Bytes)\n     # download with: lux -f 137 ...\n\n     [398]  -------------------\n     Quality:         720p video\u002Fmp4; codecs=\"av01.0.05M.08\"\n     Size:            37.12 MiB (38926432 Bytes)\n     # download with: lux -f 398 ...\n\n     [136]  -------------------\n     Quality:         720p video\u002Fmp4; codecs=\"avc1.4d401f\"\n     Size:            31.34 MiB (32867324 Bytes)\n     # download with: lux -f 136 ...\n\n     [247]  -------------------\n     Quality:         720p video\u002Fwebm; codecs=\"vp9\"\n     Size:            31.03 MiB (32536181 Bytes)\n     # download with: lux -f 247 ...\n```\n\nUse `lux -f stream \"URL\"` to download a specific stream listed in the output of `-i` option.\n\n### Download anything else\n\nIf Lux is provided the URL of a specific resource, then it will be downloaded directly:\n\n```console\n$ lux \"https:\u002F\u002Fimg9.bcyimg.com\u002Fdrawer\u002F15294\u002Fpost\u002F1799t\u002F1f5a87801a0711e898b12b640777720f.jpg\"\n\nlux doesn't support this URL right now, but it will try to download it directly\n\n Site:      Universal\n Title:     1f5a87801a0711e898b12b640777720f\n Type:      image\u002Fjpeg\n Stream:\n     [default]  -------------------\n     Size:            1.00 MiB (1051042 Bytes)\n     # download with: lux -f default \"URL\"\n\n 1.00 MiB \u002F 1.00 MiB [===================================] 100.00% 1.21 MiB\u002Fs 0s\n```\n\n### Download playlist\n\nThe `-p` option downloads an entire playlist instead of a single video.\n\n```console\n$ lux -i -p \"https:\u002F\u002Fwww.bilibili.com\u002Fbangumi\u002Fplay\u002Fep198061\"\n\n Site:      哔哩哔哩 bilibili.com\n Title:     Doctor X 第四季：第一集\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            845.66 MiB (886738354 Bytes)\n     # download with: lux -f default \"URL\"\n\n\n Site:      哔哩哔哩 bilibili.com\n Title:     Doctor X 第四季：第二集\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            930.71 MiB (975919195 Bytes)\n     # download with: lux -f default \"URL\"\n\n......\n```\n\nYou can use the `-start`, `-end` or `-items` option to specify the download range of the list:\n\n```\n-start\n    \tPlaylist video to start at (default 1)\n-end\n    \tPlaylist video to end at\n-items\n    \tPlaylist video items to download. Separated by commas like: 1,5,6,8-10\n```\n\nFor bilibili playlists only:\n\n```\n-eto\n  File name of each bilibili episode doesn't include the playlist title\n```\n\n### Multiple inputs\n\nYou can also download multiple URLs at once:\n\n```console\n$ lux -i \"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav21877586\" \"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav21990740\"\n\n Site:      哔哩哔哩 bilibili.com\n Title:     【莓机会了】甜到虐哭的13集单集MAD「我现在什么都不想干,更不想看14集」\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            51.88 MiB (54403767 Bytes)\n     # download with: lux -f default \"URL\"\n\n\n Site:      哔哩哔哩 bilibili.com\n Title:     【莓救了】甜到虐哭！！！国家队单集MAD-当熟悉的bgm响起，眼泪从脸颊滑下\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            77.63 MiB (81404093 Bytes)\n     # download with: lux -f default \"URL\"\n```\n\nThese URLs will be downloaded one by one.\n\nYou can also use the `-F` option to read URLs from file:\n\n```console\n$ lux -F ~\u002FDesktop\u002Fu.txt\n\n Site:      微博 weibo.com\n Title:     在Google，我们设计什么？ via@阑夕\n Type:      video\n Stream:\n     [default]  -------------------\n     Size:            19.19 MiB (20118196 Bytes)\n     # download with: lux -f default \"URL\"\n\n 19.19 MiB \u002F 19.19 MiB [=================================] 100.00% 9.69 MiB\u002Fs 1s\n\n......\n```\n\nYou can use the `-start`, `-end` or `-items` option to specify the download range of the list:\n\n```\n-start\n    \tFile line to start at (default 1)\n-end\n    \tFile line to end at\n-items\n    \tFile lines to download. Separated by commas like: 1,5,6,8-10\n```\n\n### Resume a download\n\n\u003Ckbd>Ctrl\u003C\u002Fkbd>+\u003Ckbd>C\u003C\u002Fkbd> interrupts a download.\n\nA temporary `.download` file is kept in the output directory. If `lux` is ran with the same arguments, then the download progress will resume from the last session.\n\n### Auto retry\n\nlux will auto retry when the download failed, you can specify the retry times by `-retry` option (default is 100).\n\n### Cookies\n\nCookies can be provided to `lux` with the `-c` option if they are required for accessing the video.\n\nCookies can be the following format or [Netscape Cookie](https:\u002F\u002Fcurl.haxx.se\u002Frfc\u002Fcookie_spec.html) format:\n\n```console\nname=value; name2=value2; ...\n```\n\nCookies can be a string or a text file, supply cookies in one of the two following ways.\n\nAs a string:\n\n```console\n$ lux -c \"name=value; name2=value2\" \"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20203945\"\n```\n\nAs a text file:\n\n```console\n$ lux -c cookies.txt \"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20203945\"\n```\n\n### Proxy\n\nYou can set the HTTP\u002FSOCKS5 proxy using environment variables:\n\n```console\n$ HTTP_PROXY=\"http:\u002F\u002F127.0.0.1:1087\u002F\" lux -i \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=Gnbch2osEeo\"\n```\n\n```console\n$ HTTP_PROXY=\"socks5:\u002F\u002F127.0.0.1:1080\u002F\" lux -i \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=Gnbch2osEeo\"\n```\n\n### Multi-Thread\n\nUse `--multi-thread` or `-m` multiple threads to download single video.\n\nUse `--thread` or `-n` option to set the number of download threads(default is 10).\n\n> Note: If the video has multi fragment, the number of actual download threads will increase.\n>\n> For example:\n> * If `-n` is set to 10, and the video has 2 fragments, then 20 threads will actually be used.\n> * If the video has 20 fragments, only 10 fragments are downloaded in the same time, the actual threads count is 100.\n\n> **Special Tips:** Use too many threads in **mgtv** download will cause HTTP 403 error, we recommend setting the number of threads to **1**.\n\n### Short link\n\n#### bilibili\n\nYou can just use `av` or `ep` number to download bilibili's video:\n\n```console\n$ lux -i ep198381 av21877586\n\n Site:      哔哩哔哩 bilibili.com\n Title:     狐妖小红娘：第79话 南国公主的吃货本色\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            485.23 MiB (508798478 Bytes)\n     # download with: lux -f default \"URL\"\n\n\n Site:      哔哩哔哩 bilibili.com\n Title:     【莓机会了】甜到虐哭的13集单集MAD「我现在什么都不想干,更不想看14集」\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            51.88 MiB (54403767 Bytes)\n     # download with: lux -f default \"URL\"\n```\n\n### Use specified Referrer\n\nA Referrer can be used for the request with the `-r` option:\n\n```console\n$ lux -r \"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20383055\u002F\" \"http:\u002F\u002Fcn-scnc1-dx.acgvideo.com\u002F\"\n```\n\n### Specify the output path and name\n\nThe `-o` option sets the path, and `-O` option sets the name of the downloaded file:\n\n```console\n$ lux -o ..\u002F -O \"hello\" \"https:\u002F\u002Fexample.com\"\n```\n\n### Debug Mode\n\nThe `-d` option outputs network request messages:\n\n```console\n$ lux -i -d \"http:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20088587\"\n\nURL:         http:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20088587\nMethod:      GET\nHeaders:     http.Header{\n    \"Referer\":         {\"http:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20088587\"},\n    \"Accept\":          {\"text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,*\u002F*;q=0.8\"},\n    \"Accept-Charset\":  {\"UTF-8,*;q=0.5\"},\n    \"Accept-Encoding\": {\"gzip,deflate,sdch\"},\n    \"Accept-Language\": {\"en-US,en;q=0.8\"},\n    \"User-Agent\":      {\"Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F65.0.3325.146 Safari\u002F537.36\"},\n}\nStatus Code: 200\n\nURL:         https:\u002F\u002Finterface.bilibili.com\u002Fv2\u002Fplayurl?appkey=84956560bc028eb7&cid=32782944&otype=json&qn=116&quality=116&type=&sign=fb2e3f261fec398652f96d358517e535\nMethod:      GET\nHeaders:     http.Header{\n    \"Accept-Charset\":  {\"UTF-8,*;q=0.5\"},\n    \"Accept-Encoding\": {\"gzip,deflate,sdch\"},\n    \"Accept-Language\": {\"en-US,en;q=0.8\"},\n    \"User-Agent\":      {\"Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F65.0.3325.146 Safari\u002F537.36\"},\n    \"Referer\":         {\"https:\u002F\u002Finterface.bilibili.com\u002Fv2\u002Fplayurl?appkey=84956560bc028eb7&cid=32782944&otype=json&qn=116&quality=116&type=&sign=fb2e3f261fec398652f96d358517e535\"},\n    \"Accept\":          {\"text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,*\u002F*;q=0.8\"},\n}\nStatus Code: 200\n\n Site:      哔哩哔哩 bilibili.com\n Title:     燃油动力的遥控奥迪R8跑赛道\n Type:      video\n Streams:   # All available quality\n     [default]  -------------------\n     Quality:         高清 1080P\n     Size:            64.38 MiB (67504795 Bytes)\n     # download with: lux -f default \"URL\"\n```\n\n### Reuse extracted data\n\nThe `-j` option will print the extracted data in JSON format.\n\n```console\n$ lux -j \"https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav20203945\"\n\n{\n    \"site\": \"哔哩哔哩 bilibili.com\",\n    \"title\": \"【2018拜年祭单品】相遇day by day\",\n    \"type\": \"video\",\n    \"streams\": {\n        \"15\": {\n            \"urls\": [\n                {\n                    \"url\": \"...\",\n                    \"size\": 18355205,\n                    \"ext\": \"flv\"\n                }\n            ],\n            \"quality\": \"流畅 360P\",\n            \"size\": 18355205\n        },\n        \"32\": {\n            \"urls\": [\n                {\n                    \"url\": \"...\",\n                    \"size\": 40058632,\n                    \"ext\": \"flv\"\n                }\n            ],\n            \"quality\": \"清晰 480P\",\n            \"size\": 40058632\n        },\n        \"64\": {\n            \"urls\": [\n                {\n                    \"url\": \"...\",\n                    \"size\": 82691087,\n                    \"ext\": \"flv\"\n                }\n            ],\n            \"quality\": \"高清 720P\",\n            \"size\": 82691087\n        },\n        \"80\": {\n            \"urls\": [\n                {\n                    \"url\": \"...\",\n                    \"size\": 121735559,\n                    \"ext\": \"flv\"\n                }\n            ],\n            \"quality\": \"高清 1080P\",\n            \"size\": 121735559\n        }\n    }\n}\n```\n\n### Options\n\n```\n  -i\tInformation only\n  -F string\n    \tURLs file path\n  -d\tDebug mode\n  -j\tPrint extracted data\n  -s\tMinimum outputs\n  -v\tShow version\n```\n\n#### Download:\n\n```\n  -f string\n    \tSelect specific stream to download\n  -p\tDownload playlist\n  -n int\n    \tThe number of download thread (only works for multiple-parts video) (default 10)\n  -c string\n    \tCookie\n  -r string\n    \tUse specified Referrer\n  -cs int\n    \tHTTP chunk size for downloading (in MB) (default 1)\n```\n\n#### Network:\n\n```\n  -retry int\n    \tHow many times to retry when the download failed (default 10)\n```\n\n#### Playlist:\n\n```\n  -start int\n    \tPlaylist video to start at (default 1)\n  -end int\n    \tPlaylist video to end at\n  -items string\n    \tPlaylist video items to download. Separated by commas like: 1,5,6,8-10\n```\n\n#### Filesystem:\n\n```\n  -o string\n    \tSpecify the output path\n  -O string\n    \tSpecify the output file name\n```\n\n#### Subtitle:\n\n```\n  -C\tDownload subtitles\n  -C -items en,zh\n    \tDownload specific languages (YouTube only)\n  -C -items en,zh -embed \n    \tEmbed subtitles into the video (YouTube only)\n```\n\n#### Youku:\n\n```\n  -ccode string\n    \tYouku ccode (default \"0502\")\n  -ckey string\n    \tYouku ckey (default \"7B19C0AB12633B22E7FE81271162026020570708D6CC189E4924503C49D243A0DE6CD84A766832C2C99898FC5ED31F3709BB3CDD82C96492E721BDD381735026\")\n  -password string\n    \tYouku password\n```\n\n#### aria2:\n\n> Note: If you use aria2 to download, you need to merge the multi-part videos yourself.\n\n```\n  -aria2\n    \tUse Aria2 RPC to download\n  -aria2addr string\n    \tAria2 Address (default \"localhost:6800\")\n  -aria2method string\n    \tAria2 Method (default \"http\")\n  -aria2token string\n    \tAria2 RPC Token\n```\n\n## Supported Sites\n\n| Site             | URL                                                                       | 🎬 Videos | 🌁 Images | 🔊 Audio | 📚 Playlist | 🍪 VIP adaptation | Build Status                                                                                                                                                                      |\n| ---------------- | ------------------------------------------------------------------------- | -------- | -------- | ------- | ---------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| 抖音             | \u003Chttps:\u002F\u002Fwww.douyin.com>                                                  | ✓        | ✓        |         |            |                  | [![douyin](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_douyin.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_douyin.yml)                   |\n| 哔哩哔哩         | \u003Chttps:\u002F\u002Fwww.bilibili.com>                                                | ✓        |          |         | ✓          | ✓                | [![bilibili](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_bilibili.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_bilibili.yml)             |\n| 半次元           | \u003Chttps:\u002F\u002Fbcy.net>                                                         |          | ✓        |         |            |                  | [![bcy](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_bcy.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_bcy.yml)                            |\n| pixivision       | \u003Chttps:\u002F\u002Fwww.pixivision.net>                                              |          | ✓        |         |            |                  | [![pixivision](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_pixivision.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_pixivision.yml)       |\n| 优酷             | \u003Chttps:\u002F\u002Fwww.youku.com>                                                   | ✓        |          |         |            | ✓                | [![youku](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_youku.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_youku.yml)                      |\n| YouTube          | \u003Chttps:\u002F\u002Fwww.youtube.com>                                                 | ✓        |          |         | ✓          |                  | [![youtube](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_youtube.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_youtube.yml)                |\n| 西瓜视频（头条） | \u003Chttps:\u002F\u002Fm.toutiao.com>, \u003Chttps:\u002F\u002Fv.ixigua.com>, \u003Chttps:\u002F\u002Fwww.ixigua.com> | ✓        |          |         |            |                  | [![ixigua](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_ixigua.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_ixigua.yml)                   |\n| 爱奇艺           | \u003Chttps:\u002F\u002Fwww.iqiyi.com>                                                   | ✓        |          |         |            |                  | [![iqiyi](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_iqiyi.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_iqiyi.yml)                      |\n| 新片场           | \u003Chttps:\u002F\u002Fwww.xinpianchang.com>                                            | ✓        |          |         |            |                  | [![xinpianchang](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_xinpianchang.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_xinpianchang.yml) |\n| 芒果 TV          | \u003Chttps:\u002F\u002Fwww.mgtv.com>                                                    | ✓        |          |         |            |                  | [![mgtv](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_mgtv.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_mgtv.yml)                         |\n| 糖豆广场舞       | \u003Chttps:\u002F\u002Fwww.tangdou.com>                                                 | ✓        |          |         |            |                  | [![tangdou](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_tangdou.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_tangdou.yml)                |\n| Tumblr           | \u003Chttps:\u002F\u002Fwww.tumblr.com>                                                  | ✓        | ✓        |         |            |                  | [![tumblr](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_tumblr.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_tumblr.yml)                   |\n| Vimeo            | \u003Chttps:\u002F\u002Fvimeo.com>                                                       | ✓        |          |         |            |                  | [![vimeo](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_vimeo.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_vimeo.yml)                      |\n| Facebook         | \u003Chttps:\u002F\u002Ffacebook.com>                                                    | ✓        |          |         |            |                  | [![facebook](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_facebook.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_facebook.yml)             |\n| 斗鱼视频         | \u003Chttps:\u002F\u002Fv.douyu.com>                                                     | ✓        |          |         |            |                  | [![douyu](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_douyu.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_douyu.yml)                      |\n| 秒拍             | \u003Chttps:\u002F\u002Fwww.miaopai.com>                                                 | ✓        |          |         |            |                  | [![miaopai](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_miaopai.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_miaopai.yml)                |\n| 微博             | \u003Chttps:\u002F\u002Fweibo.com>                                                       | ✓        |          |         |            |                  | [![weibo](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_weibo.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_weibo.yml)                      |\n| Instagram        | \u003Chttps:\u002F\u002Fwww.instagram.com>                                               | ✓        | ✓        |         |            |                  | [![instagram](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_instagram.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_instagram.yml)          |\n| Threads        | \u003Chttps:\u002F\u002Fwww.threads.net>                                               | ✓        | ✓        |         |            |                  | [![threads](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_threads.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_threads.yml)          |\n| Twitter          | \u003Chttps:\u002F\u002Ftwitter.com>                                                     | ✓        |          |         |            |                  | [![twitter](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_twitter.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_twitter.yml)                |\n| 腾讯视频         | \u003Chttps:\u002F\u002Fv.qq.com>                                                        | ✓        |          |         |            |                  | [![qq](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_qq.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_qq.yml)                               |\n| 网易云音乐       | \u003Chttps:\u002F\u002Fmusic.163.com>                                                   | ✓        |          |         |            |                  | [![netease](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_netease.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_netease.yml)                |\n| 音悦台           | \u003Chttps:\u002F\u002Fyinyuetai.com>                                                   | ✓        |          |         |            |                  | [![yinyuetai](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_yinyuetai.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_yinyuetai.yml)          |\n| 极客时间         | \u003Chttps:\u002F\u002Ftime.geekbang.org>                                               | ✓        |          |         |            |                  | [![geekbang](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_geekbang.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_geekbang.yml)             |\n| Pornhub          | \u003Chttps:\u002F\u002Fpornhub.com>                                                     | ✓        |          |         |            |                  | [![pornhub](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_pornhub.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_pornhub.yml)                |\n| XVIDEOS          | \u003Chttps:\u002F\u002Fxvideos.com>                                                     | ✓        |          |         |            |                  | [![xvideos](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_xvideos.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_xvideos.yml)                |\n| 聯合新聞網       | \u003Chttps:\u002F\u002Fudn.com>                                                         | ✓        |          |         |            |                  | [![udn](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_udn.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_udn.yml)                            |\n| TikTok           | \u003Chttps:\u002F\u002Fwww.tiktok.com>                                                  | ✓        |          |         |            |                  | [![tiktok](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_tiktok.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_tiktok.yml)                   |\n| Pinterest        | \u003Chttps:\u002F\u002Fwww.pinterest.com>                                               | ✓        |          |         |            |                  | [![pinterest](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_pinterest.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_pinterest.yml)          |\n| 好看视频         | \u003Chttps:\u002F\u002Fhaokan.baidu.com>                                                | ✓        |          |         |            |                  | [![haokan](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_haokan.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_haokan.yml)                   |\n| AcFun            | \u003Chttps:\u002F\u002Fwww.acfun.cn>                                                    | ✓        |          |         | ✓          |                  | [![acfun](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_acfun.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_acfun.yml)                      |\n| Eporner          | \u003Chttps:\u002F\u002Feporner.com>                                                     | ✓        |          |         |            |                  | [![eporner](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_eporner.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_eporner.yml)                |\n| StreamTape       | \u003Chttps:\u002F\u002Fstreamtape.com>                                                  | ✓        |          |         |            |                  | [![streamtape](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_streamtape.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_streamtape.yml)       |\n| 虎扑             | \u003Chttps:\u002F\u002Fhupu.com>                                                        | ✓        |          |         |            |                  | [![hupu](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_hupu.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_hupu.yml)                         |\n| 虎牙视频         | \u003Chttps:\u002F\u002Fv.huya.com>                                                      | ✓        |          |         |            |                  | [![huya](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_huya.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_huya.yml)                         |\n| 喜马拉雅         | \u003Chttps:\u002F\u002Fwww.ximalaya.com>                                                |          |          | ✓       |            |                  | [![ximalaya](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_ximalaya.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_ximalaya.yml)             |\n| 快手             | \u003Chttps:\u002F\u002Fwww.kuaishou.com>                                                | ✓        |          |         |            |                  | [![kuaishou](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_kuaishou.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_kuaishou.yml)             |\n| Reddit           | \u003Chttps:\u002F\u002Fwww.reddit.com>                                                  | ✓        | ✓        |         |            |                  | [![reddit](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_reddit.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_reddit.yml)                   |\n| VKontakte        | \u003Chttps:\u002F\u002Fvk.com>                                                          | ✓        |          |         |            |                  | [![vk](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_vk.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_vk.yml\u002F)                              |\n| 知乎             | \u003Chttps:\u002F\u002Fzhihu.com>                                                       | ✓        |          |         |            |                  | [![zhihu](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_zhihu.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_zhihu.yml\u002F)                     |\n| Rumble           | \u003Chttps:\u002F\u002Frumble.com>                                                      | ✓        |          |         |            |                  | [![rumble](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_rumble.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_rumble.yml\u002F)                  |\n| 小红书           | \u003Chttps:\u002F\u002Fxiaohongshu.com>                                                 | ✓        |          |         |            |                  | [![xiaohongshu](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_xiaohongshu.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_xiaohongshu.yml\u002F)   |\n| Zing MP3         | \u003Chttps:\u002F\u002Fzingmp3.vn>                                                      | ✓        |          | ✓       |            |                  | [![zingmp3](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_zingmp3.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_zingmp3.yml\u002F)               |\n| Bitchute         | \u003Chttps:\u002F\u002Fwww.bitchute.com>                                                | ✓        |          |         |            |                  | [![bitchute](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_bitchute.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_bitchute.yml\u002F)            |\n| Odysee         | \u003Chttps:\u002F\u002Fodysee.com>                                                | ✓        |          | ✓       |            |                  | [![odysee](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_odysee.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Factions\u002Fworkflows\u002Fstream_odysee.yml\u002F)            |\n\n\n## Known issues\n\n### 优酷\n\n优酷的 `ccode` 经常变化导致 lux 不可用，如果你知道有新的可用的 `ccode`，可以直接使用 `lux -ccode ...` 而不用等待 lux 更新（当然，也欢迎你给我们提一个 Pull request 来更新默认的 `ccode`）\n\n最好是每次下载都附带登录过的 Cookie 以避免部分 `ccode` 的问题\n\n### 西瓜\u002F头条视频\n西瓜\u002F头条视频必须带 Cookie 才能下载成功，西瓜和头条可共用西瓜视频的 Cookie，Cookie 的有效期可能较短，下载失败就更新 Cookie 尝试：\n\n```\n$ lux -c \"msToken=yoEh0-qLUq4obZ8Sfxsem_CxCo9R3NM6ViTrWaRcM1...; ttwid=1%7C...\" \"https:\u002F\u002Fm.toutiao.com\u002Fis\u002FiYbTfJ79\u002F\"\n```\n\n## Contributing\n\nLux is an open source project and built on the top of open-source projects. Check out the [Contributing Guide](.\u002FCONTRIBUTING.md) to get started.\n\n## Authors\n\nCode with ❤️ by [iawia002](https:\u002F\u002Fgithub.com\u002Fiawia002) and lovely [contributors](https:\u002F\u002Fgithub.com\u002Fiawia002\u002Flux\u002Fgraphs\u002Fcontributors)\n\n## Similar projects\n\n- [youtube](https:\u002F\u002Fgithub.com\u002Fkkdai\u002Fyoutube)\n- [youtube-dl](https:\u002F\u002Fgithub.com\u002Frg3\u002Fyoutube-dl)\n- [you-get](https:\u002F\u002Fgithub.com\u002Fsoimort\u002Fyou-get)\n- [ytdl](https:\u002F\u002Fgithub.com\u002Frylio\u002Fytdl)\n\n## License\n\nMIT\n\nCopyright (c) 2018-present, iawia002\n","Lux 是一个使用 Go 语言编写的快速且简单的视频下载工具。它支持从多个主流视频网站（如 YouTube、Bilibili、优酷等）下载视频，并具备断点续传、多线程下载等功能，以提高下载效率和稳定性。Lux 还提供了丰富的命令行选项，允许用户自定义输出路径、文件名以及设置代理等。适用于需要批量下载网络视频的个人用户或开发者，尤其适合那些对下载速度和灵活性有一定要求的场景。",2,"2026-06-11 02:48:01","top_all"]