Comments (8)
- bilibili_cookie.txt文件示例:
SESSDATA=xxxxxx;
- 获取信息命令(bilibili_cookie.txt 在当前目录):
lux -c ./bilibili_cookie.txt -i "https://www.bilibili.com/video/BV1Wb411f7fV"
输出:
Site: 哔哩哔哩 bilibili.com
Title: 【东盟十国09丨缅甸】内战打了2年,缅甸怎么样了?
Type: video
Streams: # All available quality
[80-7] -------------------
Quality: 高清 1080P avc1.640032
Size: 300.40 MiB (314991536 Bytes)
# download with: lux -f 80-7 ...
[80-12] -------------------
Quality: 高清 1080P hev1.1.6.L150.90
Size: 202.39 MiB (212216579 Bytes)
# download with: lux -f 80-12 ...
- 下载命令
lux -c ./bilibili_cookie.txt -f 80-12 "https://www.bilibili.com/video/BV1Wb411f7fV"
from lux.
作者有写用法,需要你自己的cookies;具体指令可以用这个:lux -c “name=cookies” -i “URL”
from lux.
谢谢,但怎么获取cookie呢?
例如下面的:name=value; name2=value2或cookies.txt
Cookies can be a string or a text file, supply cookies in one of the two following ways.
As a string:
$ lux -c "name=value; name2=value2" "https://www.bilibili.com/video/av20203945"
As a text file:
$ lux -c cookies.txt "https://www.bilibili.com/video/av20203945"
from lux.
F12 Application->storage->Cookies ,自己手打键值对,可以存在文件里。
由于http无状态协议原因,其实header头里也有,自行查找可免去手打烦恼。
from lux.
我设置也就是能下720p,1080p咋搞啊
from lux.
作者有写用法,需要你自己的cookies;具体指令可以用这个:lux -c “name=cookies” -i “URL”
请教一下,是不是只能默认下载最高画质的,不能选择清晰度下载?
from lux.
作者有写用法,需要你自己的cookies;具体指令可以用这个:lux -c “name=cookies” -i “URL”
请教一下,是不是只能默认下载最高画质的,不能选择清晰度下载?
-f 就是选择画质
from lux.
F12—网络,刷新网页,选中www.bilibili.com,在标头一栏中找到Cookie:,冒号后面的就是Cookie
from lux.
Related Issues (20)
- 最新版本在windows11上不能自动合并文件 HOT 3
- [download fail]: www.instagram.com Video HOT 2
- Youtube : the website name HOT 2
- [download fail]: bilibili url parse failed
- [download fail]: youku news queen HOT 1
- [download fail]: the website name
- 优酷怎么登陆VIP下载?
- [download fail]: bilibili HOT 1
- [download fail]: json: cannot unmarshal number 3.003 into Go struct field .aweme_detail.video.big_thumbs.interval of type int
- Youtube downloading is extremly slow HOT 4
- [download fail]: twitter.com
- download goes more than 100% with -m
- Support downloading subtitles in bilibili
- If you have issue with installing the app by go HOT 1
- Windows中下载完成后合并文件时出错 HOT 1
- add a feature to download audio
- [download fail]: bill bill HOT 5
- [download fail]: LUX will skip files with same names. HOT 1
- [download fail]: 西瓜视频API 404 HOT 1
- [视频下载]: 小鹅通
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lux.