step1
in https://sketch.pixiv.net/lives, replace the contents of cookies.txt by your own cookies.
You can't record r18 streamers if you don't replace your cookies.
cookie sample: cookie_name,cookie_value,domain
so please add your cookie value between the ',' (replace cookie_value)
step2
in pixiv.txt, add the stream http link of the streamer you want to record.
example:
https://sketch.pixiv.net/@ffgs10/lives
https://www.youtube.com/watch?v=tqM3I2aKkIA
https://www.twitch.tv/guanweiboy
https://live.bilibili.com/23516237
one line one streamer
step3
-o [path]
How to change download path: add -o and your dir
example: ./mix -o path/to/download/
type ./mix in your powershell, enjoy!
一、打开浏览器进 https://sketch.pixiv.net/lives , 在浏览器里找到自己的cookie,替换到cookies.txt里
,具体的cookie名见cookies.txt里的,总共有两个
不替换cookies无法录制r18视频
cookie用逗号分隔,格式 cookie_name,cookie_value,domain
所以将你找到的值添加在两个逗号之间
step2
在pixiv.txt里,添加你想要录制的直播链接,具体的格式见下.
例子:
https://sketch.pixiv.net/@ffgs10/lives
https://www.youtube.com/watch?v=tqM3I2aKkIA
https://www.twitch.tv/guanweiboy
https://live.bilibili.com/23516237
一行一个地址
step3
-o [path]
改变输出地址,在命令行里打 -o 你要下的地址
例子: ./mix -o path/to/download/
切到对应的文件夹,在powershell里打 ./mix就能运行啦
里面的request写法很鬼畜是因为要支持代理,本来能够request.get的一定得绕一下用powershell Invoke-WebRequest.