Comments (5)
正确格式是分号分隔字符串, 从 EditThisCookie 导出后原样粘贴即可, //
注释本程序会自动剔除
from yun-playlist-downloader.
可是我从 EditThisCookie 导出的格式好像原本不太一样...
我导出的格式如下:
[
{
"domain": ".weibo.com",
"expirationDate": 1665909683.986669,
"hostOnly": false,
"httpOnly": true,
"name": "PC_TOKEN",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "xxx",
"id": 1
},
{
"domain": ".weibo.com",
"expirationDate": 1697443887.810198,
"hostOnly": false,
"httpOnly": true,
"name": "SUB",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "xxx",
"id": 2
},
{
"domain": ".weibo.com",
"expirationDate": 1697443887.810241,
"hostOnly": false,
"httpOnly": false,
"name": "SUBP",
"path": "/",
"sameSite": "unspecified",
"secure": false,
"session": false,
"storeId": "0",
"value": "xxx",
"id": 3
},
{
"domain": "weibo.com",
"expirationDate": 1665994287.94975,
"hostOnly": true,
"httpOnly": true,
"name": "WBPSESS",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "xxx",
"id": 4
},
{
"domain": "weibo.com",
"hostOnly": true,
"httpOnly": false,
"name": "XSRF-TOKEN",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": true,
"storeId": "0",
"value": "xxx",
"id": 5
}
]
我使用的 EditThisCookie 版本, 是目前 Chrome 应用商店最新的:
from yun-playlist-downloader.
或者手动复制一下也行, 登录之后的 cookie header 的值, 复制出来即可
from yun-playlist-downloader.
我刚刚尝试了一下, 修改插件设置之后导出的 cookie 是可以使用的, 可我直接复制访问 music.163.com 复制 header 中的 cookie 程序报错如下.
[cookie] 使用 cookie 文件: /home/xxx/yun.cookie.txt
{
status: 400,
body: {
code: 20001,
message: '登录后才可查看',
debugInfo: null,
data: null,
failData: null,
msg: '登录后才可查看'
},
cookie: [
'NMTID=00OMvVD02AZ_HibO07xppMXlZl56CAAAAGD4BdM3Q; Max-Age=315360000; Expires=Wed, 13 Oct 2032 09:19:26 GMT; Path=/;'
]
}
from yun-playlist-downloader.
确实. 使用插件导出的 cookie 即可.
from yun-playlist-downloader.
Related Issues (20)
- 主播电台默认只能下载列表第一页的100个文件 HOT 2
- Unexpected token ... HOT 1
- 增加只保留歌单的功能 HOT 6
- 可否支持会员歌曲的下载 HOT 1
- ReferenceError: URL is not defined HOT 2
- 只能下载歌单的前10首歌 HOT 1
- 安装报错 HOT 2
- 貌似全部都no matchens found了
- 缺少依赖 HOT 2
- 要下载自己的喜欢歌单时会要求登录 HOT 2
- for img upload HOT 3
- 是否能够下载自己的歌单? HOT 1
- 安装报错 HOT 7
- 成功率很低 HOT 1
- 下载包含较多数量歌曲的歌单,报错Cannot read property 'map' of undefined HOT 2
- 下载电台报错Cannot read properties of undefined (reading 'id') HOT 2
- 如何让下载的歌曲名中包含专辑名 HOT 3
- 歌曲下载不完整 只有30秒 HOT 6
- 下载位置是在哪设置的,默认是C盘。 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 yun-playlist-downloader.