Giter Site home page Giter Site logo

minyami's People

Contributors

cl-jeremy avatar d2038 avatar dependabot[bot] avatar fireattack avatar last-order avatar nbdd0121 avatar pzhlkj6612 avatar tuzi3040 avatar yangzhaofeng avatar zyzsdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minyami's Issues

重构计划

  • 重构 m3u8 解析,适应更多 HLS 流
  • 加入通用解析器
  • 提供多个钩子以便 GUI 等使用

EBUSY error when using nomux mode

Basic Information

  • Node.js version: 10.0.0
  • Minyami version: 2.0.1
  • Minyami Extractor version: /

Describe the bug
A EBUSY error occurred when merging output video using nomux mode.

To Reproduce
Steps to reproduce the behavior:

  1. minyami -d <a long video with so many chunks>

建议:增加 header 的支持

遇到一个网站在拉取m3u8的时候会判定 Origin 和 Referer 是否来源于网站,现在先把m3u8下载了之后,用node开一个web服务再用minyami取的m3u8,或者能否支持读取本地的m3u8文件呢?

niconico下载失败

最新版的minyami
[MINYAMI][MERGING] [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 1 throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open '【無料】にじさん 'Emitted 'error' event on WriteStream instance at:
at internal/fs/streams.js:375:14 at FSReqCallback.oncomplete (fs.js:164:23) {
errno: -2, code: 'ENOENT',
syscall: 'open',
path: '【無料】にじさんじ「SMASH The PAINTcd /sdcard/Download '

链接:https://live2.nicovideo.jp/watch/lv328087060

Missing dependence

卸载minyami再安装后就出现了
[MINYAMI][ERROR] Missing dependence: openssl
这个问题
但是OpenSSL确实处于正常状态
重新安装OpenSSL后仍存在问题

Nico的Timeshift无法正常录制

Basic Information

Describe the bug

#19 类似,在录制Timeshift的过程中,最开始的部分chunk可以正常录制,后半部分出现大量的报错,无法正常录制。

[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 403.
[MINYAMI][WARN] Downloading or decrypting 420466.ts failed. Retry later.

目前最新的版本仍然无法正常录制,想问一下有什么解决办法吗?
Screenshots
Snipaste_2019-03-09_15-37-27

--proxy Will Be Removed in the Next Major Version

Many bug reports pointed out the --proxy is very buggy and works terrible when DNS results can not be trusted. So I decided to remove --proxy option in the next major version.

Anyone who wants to download videos through a proxy, please just proxy Node.js process. For Windows users, Proxifier is recommended.

Removal Timetable:

2020-10-01: Mark as deprecated in the help docs and Chrome extension.
2020-11-01: Remove from Chrome extension.
2021-01-01: Remove from Minyami.

下载过程无限报403

Basic Information

Describe the bug
timeshift非公开的直播,用普雷米进行回看时获取了下载地址,使用minyami进行下载的过程中无限报403
(图片不知道为什么传不上来)

Minyami still remind to set key to download Abematv video on PowerShell

Basic Information

Describe the bug
I have set the key of Abematv, but Minyami still remind me to set the key to download the video.
I have tried to use PowerShell and CMD on Windows, it failed on PowerShell but succeed on CMD.
Command: minyami -d "https://ds-vod-abematv.akamaized.net/program/221-57_s1_p1/1080/playlist.m3u8?aver=3&ccf=0&dt=pc_chrome&enc=clear" --output "ファンタ坂学園と大合唱計画 - 本編 - ファンタ坂学園と大合唱計画 #1 【Abemaビデオ】見逃した番組や人気作品が見放題.ts" --key "1d8cf631a8380f9510b5e76141e1a700"

[MINYAMI][INFO] Start fetching M3U8 file. [MINYAMI][INFO] M3U8 file fetched. [MINYAMI][INFO] Site comfirmed: AbemaTV. Error To download AbemaTV, you need to set a key manually Error: To download AbemaTV, you need to set a key manually at Function.parse (C:\Users*\AppData\Roaming\npm\node_modules\minyami\dist\core\parsers\abema.js:7:19) at ArchiveDownloader. (C:\Users*\AppData\Roaming\npm\node_modules\minyami\dist\core\archive.js:74:36) at Generator.next () at fulfilled (C:\Users**\AppData\Roaming\npm\node_modules\minyami\dist\core\archive.js:5:58) at process._tickCallback (internal/process/next_tick.js:68:7)

[MINYAMI][ERROR] Fail to merge video. Please merge video chunks manually.

最後會出現TS檔,能播放。
如果改成.mkv,加--format mkv,就會出現一個5KB的mkv檔案。

H:\Minyami_Download>minyami -d "https://ds-vod-abematv.akamaized.net/program/90-483_s0_p74/1080/playlist.m3u8?aver=0&ccf=11&dt=pc_unknown&enc=clear" --output "指原莉乃&ブラマヨの恋するサイテー男総選挙 - #74:アートの秋!汚れた部屋に裸体♡ 【Abemaビデオ】見逃した番組や人気作品が見放題.ts" --key "b4cce31e26ba80da794b0d7510095a00"
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Site comfirmed: AbemaTV.
[MINYAMI][INFO] Key: b4cce31e26ba80da794b0d7510095a00; IV: 63d92ac3a2e8eefa4591a52b705b73a4.
[MINYAMI][INFO] Start downloading with 5 thread(s).
[MINYAMI][INFO] Proccessing 4ueVDyTwKddJed52zasBf3F8VC43FZTmS.ts finished. (1 / 419 or 0.24% | Avg Speed: 0.50 chunks/s or 2.51x | ETA: 13m 11s)
...(太长我不全部贴上来了)...
[MINYAMI][INFO] Proccessing 3hT1hh2ksE3rsrEKKz9q1oye9pCq2zGUC.ts finished. (419 / 419 or 100.00% | Avg Speed: 2.67 chunks/s or 13.42x | ETA: 0s)
[MINYAMI][INFO] All chunks downloaded. Start merging chunks.
[MINYAMI][INFO] Downloaded: 419; Waiting for download: 0
[MINYAMI][INFO] End of merging.
[MINYAMI][INFO] Starting cleaning temporary files.
[MINYAMI][INFO] Saving task status.
[MINYAMI][INFO] Downloaded: 419; Waiting for download: 0
[MINYAMI][INFO] Please wait.
Error: Command failed: rd /s /q C:\Users**(實名不方便貼出來,長這個樣子Aaaa Bbbb Ccc)**\AppData\Roaming\npm\node_modules\minyami\temp_1562484476435
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the path specified.

at ChildProcess.exithandler (child_process.js:297:12)
at ChildProcess.emit (events.js:203:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {

killed: false,
code: 3,
signal: null,
cmd: 'rd /s /q C:\Users\(實名不方便貼出來,長這個樣子Aaaa Bbbb Ccc)\AppData\Roaming\npm\node_modules\minyami\temp_1562484476435',
stdout: '',
stderr: 'The system cannot find the file specified.\r\n' +
'The system cannot find the file specified.\r\n' +
'The system cannot find the path specified.\r\n'
}
[MINYAMI][ERROR] Fail to merge video. Please merge video chunks manually.

macOS 下无法下载视频

尝试下载视频时提示「Fail to fetch M3U8 file」,已排除代理问题

[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.

站点支持请求

如果你希望Minyami支持某个网站,请直接给我发送邮件。

DMM点击播放后跳出的新窗口无法识别

DMM购买的分集影片,点击播放后弹出新的DMM player窗口,点击Chrome插件图标显示“暂无数据”。
从前生放的解决法是直接复制地址栏url在原浏览器中打开,现在用这个方法显示“再生するたま認證できません”

【niconico live】Fail to fetch M3U8 file: [ECONNRESET]

Basic Information

cmd已使用set http_proxy和https_proxy挂上代理,浏览器可正常观看,有会员、选择3Mbps线路。
无法抓流,出现以下警告:
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
如果不挂代理则超时。
直播时使用直播模式抓流也是同样的警告,现在下录播也不行。

下载卡在最后部分

Basic Information

Describe the bug
类似于#36 的问题,不过有nico的普雷米会员、live本身有付过费、也手动选了最高画质,但是下载的时候一直都卡在最后部分(2070/2071)并报错403。
以及在2070/2071的时候按下ctrl+c的话没有任何ts文件输出,重开后也在继续403报错。
基本和#21 一样,不过里面提到v2.1.16应该修好了下载普通Timeshift的部分,但是有阅览限制的视频问题似乎还是存在……?

[MINYAMI][INFO] Proccessing 10215066.ts finished. (2069 / 2071 or 99.90% | Avg Speed: 2.92 chunks/s or 14.61x | ETA: 1s)
[MINYAMI][INFO] Proccessing 10210066.ts finished. (2070 / 2071 or 99.95% | Avg Speed: 2.92 chunks/s or 14.60x | ETA: 0s)
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.

error

[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Update Token: 31951910.c5w9ls1ny7_q67yzl_1lnmqq3n9tmuz
[MINYAMI][INFO] Chunk group action failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][INFO] Saving task status.
[MINYAMI][INFO] Downloaded: 2070; Waiting for download: 1
[MINYAMI][INFO] Please wait.

E:>minyami -r "https://pa12480c7cd.dmc.nico/hlsarchive/ht2_nicolive/nicolive-hamster-lv323870210_main_372db4047aa995f97460859880ba0676bb046986b078d40fd3e88bed19c12af8/1/ts/playlist.m3u8?start_time=-574748470294&ht2_nicolive=31951910.8ukqwx1nz0_q67y6u_5nntwvwt1l6o&start=2406.288" --key "lv323870210_31951910_1582655573_d0433cac4a9eeda42b5408cd37ed421b6a0c3751"
[MINYAMI][INFO] Previous task found. Resuming.
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Site comfirmed: NicoNico.
[MINYAMI][INFO] Enhanced mode for Nico-TS enabled
[MINYAMI][INFO] Update Token: 31951910.8ukqwx1nz0_q67y6u_5nntwvwt1l6o
[MINYAMI][INFO] Start downloading with 5 thread(s).
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.
[MINYAMI][WARN] Downloading or decrypting 10350066.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action finished.

retry

无法通过 clash 代理下载

Basic Information

Describe the bug
当手动通过 --proxy(deprecated) 指定 clash 的代理端口时,持续出现 [ETIMEOUT];当使用 $ENV.proxy 时,提示 [ECONNRESET]

$Env:http_proxy="http://127.0.0.1:7890";$Env:https_proxy="http://127.0.0.1:7890"

Screenshots
image

Nicolive

Basic Information

Describe the bug
A clear and concise description of what the bug is.

下载疯狂404/403

其实就是 #28 的问题,上述视频不需要会员也能看前1小时(甚至不需要登录nico),但是无法下载,最多成功下载十几个分段就开始报404,再次测试改报403

Log

C:\!Others>minyami -d "https://pc05548cad8.dmc.nico/hlsarchive/ht2_nicolive/nicolive-production-pg20307936019018_344f4f32db888489904e7dc5e67188af22da45f5b98847ed47f53ca4c5a0d3f7/4/ts/playlist.m3u8?start_time=-575255823797&ht2_nicolive=anonymous-user-7896034b-748e-41a4-b529-1151bcd0c28b.wcv5up_pyatrz_rtk1mgwcgr8d&start=0" --output "FIVE STARS☆ちゃんねる(MC黒 沢ともよ) - 20190923(月) 1930開始 - ニコニコ生放送.ts" --key "20307936019018_anonymous-user-7896034b-748e-41a4-b529-1151bcd0c28b_1569352882_d237537d945c8ec226e36851194a48d0826ec1c9"
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Site comfirmed: NicoNico.
[MINYAMI][INFO] Enhanced mode for Nico-TS enabled
[MINYAMI][INFO] Start downloading with 5 thread(s).
[MINYAMI][INFO] Chunk group action <ping> finished.
[MINYAMI][INFO] Chunk group action <ping> finished.
[MINYAMI][INFO] Proccessing 15033.ts finished. (1 / 1436 or 0.07% | Avg Speed: 0.33 chunks/s or 1.67x | ETA: 1h 13m 30s)
[MINYAMI][INFO] Proccessing 10033.ts finished. (2 / 1436 or 0.14% | Avg Speed: 0.67 chunks/s or 3.33x | ETA: 41m 27s)
[MINYAMI][INFO] Proccessing 5033.ts finished. (3 / 1436 or 0.21% | Avg Speed: 0.75 chunks/s or 3.75x | ETA: 30m 13s)
[MINYAMI][INFO] Proccessing 20033.ts finished. (4 / 1436 or 0.28% | Avg Speed: 1.00 chunks/s or 5.00x | ETA: 24m 15s)
[MINYAMI][INFO] Chunk group action <ping> finished.
[MINYAMI][INFO] Proccessing 0033.ts finished. (5 / 1436 or 0.35% | Avg Speed: 1.00 chunks/s or 5.00x | ETA: 24m 43s)
[MINYAMI][INFO] Proccessing 25033.ts finished. (6 / 1436 or 0.42% | Avg Speed: 1.00 chunks/s or 5.00x | ETA: 24m 5s)
[MINYAMI][INFO] Proccessing 35033.ts finished. (7 / 1436 or 0.49% | Avg Speed: 1.17 chunks/s or 5.83x | ETA: 20m 47s)
[MINYAMI][INFO] Proccessing 30033.ts finished. (8 / 1436 or 0.56% | Avg Speed: 1.14 chunks/s or 5.71x | ETA: 19m 34s)
[MINYAMI][INFO] Chunk group action <ping> finished.
[MINYAMI][INFO] Proccessing 50033.ts finished. (9 / 1436 or 0.63% | Avg Speed: 1.13 chunks/s or 5.63x | ETA: 21m 17s)
[MINYAMI][INFO] Proccessing 55033.ts finished. (10 / 1436 or 0.70% | Avg Speed: 1.25 chunks/s or 6.25x | ETA: 19m 26s)
[MINYAMI][INFO] Proccessing 40033.ts finished. (11 / 1436 or 0.77% | Avg Speed: 1.38 chunks/s or 6.88x | ETA: 17m 47s)
[MINYAMI][INFO] Proccessing 45033.ts finished. (12 / 1436 or 0.84% | Avg Speed: 1.50 chunks/s or 7.50x | ETA: 16m 35s)
[MINYAMI][INFO] Chunk group action <ping> finished.
[MINYAMI][INFO] Proccessing 60033.ts finished. (13 / 1436 or 0.91% | Avg Speed: 1.18 chunks/s or 5.91x | ETA: 19m 25s)
[MINYAMI][INFO] Update Token: anonymous-user-7896034b-748e-41a4-b529-1151bcd0c28b.ggbost_pyatsw_20wiw7amixwuh
[MINYAMI][INFO] Proccessing 65033.ts finished. (14 / 1436 or 0.97% | Avg Speed: 1.27 chunks/s or 6.36x | ETA: 19m 27s)
[MINYAMI][WARN] Downloading or decrypting 85033.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Proccessing 70033.ts finished. (15 / 1436 or 1.04% | Avg Speed: 1.25 chunks/s or 6.25x | ETA: 18m 36s)
[MINYAMI][INFO] Proccessing 75033.ts finished. (16 / 1436 or 1.11% | Avg Speed: 1.33 chunks/s or 6.67x | ETA: 18m 6s)
[MINYAMI][WARN] Downloading or decrypting 90033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 105033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 100033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 115033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 110033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 95033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Proccessing 80033.ts finished. (17 / 1436 or 1.18% | Avg Speed: 1.31 chunks/s or 6.54x | ETA: 18m 9s)
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 85033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 135033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 120033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 125033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 130033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 100033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 115033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 105033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 110033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 140033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 145033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 155033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 150033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 160033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 165033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 175033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 170033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 190033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 180033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 185033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 195033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 210033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 215033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 200033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 205033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 220033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 230033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 225033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 235033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 240033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 245033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 255033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 250033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 265033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 260033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 275033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 270033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 280033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 290033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 285033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 300033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 295033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 305033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 315033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 310033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 320033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 330033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 325033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 335033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 340033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 345033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 300033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 350033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 355033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Update Token: anonymous-user-7896034b-748e-41a4-b529-1151bcd0c28b.4jh9rd_pyatt6_2wa4vfq63d3j0
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 375033.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 370033.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Downloading or decrypting 365033.ts failed. Retry later. [403 Forbidden]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 360033.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Downloading or decrypting 390033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 385033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 380033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 345033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 340033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 395033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 400033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 380033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 385033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 415033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 390033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 420033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 415033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 425033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 400033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 405033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 410033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][INFO] Chunk group action <ping> failed.
[MINYAMI][INFO] Error: Request failed with status code 404
[MINYAMI][WARN] Downloading or decrypting 440033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 455033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 425033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 435033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 420033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 445033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 430033.ts failed. Retry later. [404 Not Found]
[MINYAMI][WARN] Downloading or decrypting 450033.ts failed. Retry later. [404 Not Found]
[MINYAMI][INFO] Saving task status.
[MINYAMI][INFO] Downloaded: 17; Waiting for download: 1419
[MINYAMI][INFO] Please wait.

C:\!Others>minyami -d "https://pc05548cad8.dmc.nico/hlsarchive/ht2_nicolive/nicolive-production-pg20307936019018_344f4f32db888489904e7dc5e67188af22da45f5b98847ed47f53ca4c5a0d3f7/4/ts/playlist.m3u8?start_time=-575255823797&ht2_nicolive=anonymous-user-7896034b-748e-41a4-b529-1151bcd0c28b.wcv5up_pyatrz_rtk1mgwcgr8d&start=0" --output "FIVE STARS☆ちゃんねる(MC黒 沢ともよ) - 20190923(月) 1930開始 - ニコニコ生放送.ts" --key "20307936019018_anonymous-user-7896034b-748e-41a4-b529-1151bcd0c28b_1569352882_d237537d945c8ec226e36851194a48d0826ec1c9"
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][WARN] Max retries exceeded. Abort.
Error: Max retries exceeded.
    at Object.<anonymous> (C:\Users\ikena\AppData\Roaming\npm\node_modules\minyami\dist\utils\m3u8.js:44:31)
    at Generator.throw (<anonymous>)
    at rejected (C:\Users\ikena\AppData\Roaming\npm\node_modules\minyami\dist\utils\m3u8.js:6:65)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
[MINYAMI][ERROR] Aborted due to critical error.

给了--key的值,但还是去拉取了m3u8文件里的key文件

Basic Information

  • Minyami version: 3.0.8

因为拉取m3u8和key的地址使用了不同的cookie,所以我先尝试着拉取了key文件的值(不确定拉取的方式是否正确,获取到key文件,把它转成了hex)然后将其填入到了--key,但minyami好像还是去拉取m3u8里的key文件,希望可以优先判断是否存在key,或者可以设置不同地址使用不同的cookie(比如像header里面的set-cookie)。
还有一个问题,可以在自己的ts文件里来调用minyami包吗?尝试导入了minyami包,但没有太弄清楚该怎么去调用它。

使用minyami.user.js解析访问过的AbemaTV视频页必须清除浏览器缓存

win10+chrome69+暴力猴
一旦浏览器曾经访问过需要解析的AbemaTV视频页,使用minyami.user.js都会提示“未能获取到 Key 如果该站点需要 Key 请刷新重试;刷新后请等待视频完全加载”。
无论是Ctrl+F5还是Disable cache均无法解决,必须清除浏览器的缓存才能正常解析,多次尝试均复现该问题。

关于retries的建议

能否加入非直播视频重试的限制次数的自主调整?
最近从ssr换了v2ray,网速快了但是响应慢一些,只有一次重试经常无法正常下载
0030-08-20 14 11 12

AbemaTV 下载视频失败

Basic Information

  • Node.js version: 12.14.0
  • Minyami version: 3.1.7
  • Minyami Extractor (Chrome Extension) version:
  • Video URL:

Describe the bug

下载abemaTV的时候 , 下载到2/3左右的时候 , 开始爆这样的错误 , 之后所有的片段都是爆这样的错误 , 但之前的下载都是正常的 , 不确定是不是abema在视频后段会改用其他的key

[MINYAMI][DEBUG] Error: Command failed: openssl aes-128-cbc -d -in "C:\Users\user\AppData\Local\Temp\minyami_1600702777021\6985.VMak9f3xEx4.ts" -out "C:\Users\user\AppData\Local\Temp\minyami_1600702777021\6985.VMak9f3xEx4.ts.decrypt" -K "46f2e1a13a6286726776ac55f36a20c1" -iv "0"
hex string is too short, padding with zero bytes to length
bad decrypt
21560:error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:crypto\evp\evp_enc.c:559:

如何提前停止下载live?

Basic Information

  • Node.js version: 12.1-.0
  • Minyami version: 2.2.15
  • Minyami Extractor (Chrome Extension) version:
  • Video URL: 任意y2b直播

Describe the bug

我测试了下,如果按ctrl+C,会显示“已经按下ctrl+C,等待task结束”,但是会依然继续不停下载;如果再按一次,会强制停止,但是已经下载完成的部分直接就被清理掉了。

6.20改版后ニコニコ生放送失效

6.20改版后估计也改进了一下播放器机制,2.27版目前无效了(大量报404,403),希望跟进

另外showroom直播结束后不会自动生成TS文件,提示手动merge,但程序本身并没有提供手动merge功能

下载nico直播被403后未保留以往文件

Minyami version: 3.1.3
Minyami Chrome Extension version: 1.1.17
video url: niconico生放送

在扩展中勾选下载直播,抓取直播的平台为ubuntu 18.04 LTS (日本vps),使用扩展的平台为Windows 10。两者IP不一致。

在抓取nico生放送被403后,并未保留之前已抓取的视频。

[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Proccessing 11499.ts finished. (497 / unknown | Avg Speed: 2.00 chunks/s or 1.00x)
[MINYAMI][INFO] Proccessing 11500.ts finished. (498 / unknown | Avg Speed: 2.01 chunks/s or 1.00x)
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Proccessing 11502.ts finished. (499 / unknown | Avg Speed: 2.00 chunks/s or 1.00x)
[MINYAMI][INFO] Proccessing 11501.ts finished. (500 / unknown | Avg Speed: 2.01 chunks/s or 1.00x)
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Proccessing 11504.ts finished. (501 / unknown | Avg Speed: 2.00 chunks/s or 1.00x)
[MINYAMI][INFO] Proccessing 11503.ts finished. (502 / unknown | Avg Speed: 2.01 chunks/s or 1.00x)
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11507.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11507.ts failed.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11507.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11507.ts failed.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11507.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11507.ts failed.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Downloading or decrypting 11505.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11505.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11507.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11507.ts failed.
[MINYAMI][WARN] Downloading or decrypting 11506.ts failed. Retry later. [403 Forbidden]
[MINYAMI][WARN] Processing 11506.ts failed.
[MINYAMI][WARN] Fail to fetch M3U8 file: [403 Forbidden]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][WARN] Max retries exceeded. Abort.
Error: Max retries exceeded.
at Object. (/usr/lib/node_modules/minyami/dist/utils/m3u8.js:45:31)
at Generator.throw ()
at rejected (/usr/lib/node_modules/minyami/dist/utils/m3u8.js:6:65)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[MINYAMI][ERROR] Aborted due to critical error.

【Abema TV streaming live 限时回看视频】fail to fetch m3u8 file:

Basic Information

Abema直播回看视频,有时间限制,目前还在时效内,挂了日本原生IP,一直不成功

C:\Joy>minyami -d "https://vod-abematv.akamaized.net/ppv/slot/EQT5RAs47DiX5y/1080/playlist.m3u8?aver=BetCNSDBQQCNTZ&ccf=11&dt=pc_chrome&enc=clear" --output "TRIPLE AXE ONE MAN SHOW 2020 -15 MANIAX- 【ABEMA】テレビ&ビデオエンターテインメント.ts" --key "32bb68bf231fd57301135cb42988ac0d" --live --threads 20 --proxy "127.0.0.1:1080"
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [UNKNOWN]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][WARN] Max retries exceeded. Abort.
Error: Max retries exceeded.
at Object. (C:\Users\yu\AppData\Roaming\npm\node_modules\minyami\dist\utils\m3u8.js:45:31)
at Generator.throw ()
at rejected (C:\Users\yu\AppData\Roaming\npm\node_modules\minyami\dist\utils\m3u8.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[MINYAMI][ERROR] Aborted due to critical error.

abema回放下载失败

Basic Information

前天还能正常用,今天一直弹错,什么设置都没改过。
会不会和chrome插件更新有关?插件更新后没有端口设置了,因为我电脑之前不加端口就下载失败,现在也尝试过加端口还是不行。
image

[abema] Fail to fetch M3U8 file: [ECONNRESET]

Basic Information

Describe the bug
cmd已使用set http_proxy和https_proxy挂上代理,浏览器可正常观看。试了很多个abema的视频都报这个错
[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][INFO] Try again.
[MINYAMI][WARN] Fail to fetch M3U8 file: [ECONNRESET]
[MINYAMI][WARN] If you are downloading a live stream, this may result in a broken output video.
[MINYAMI][WARN] Max retries exceeded. Abort.
Error: Max retries exceeded.
at Object. (C:--\minyami\dist\utils\m3u8.js:45:31)
at Generator.throw ()
at rejected (C:--\minyami\dist\utils\m3u8.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:97:5)

加上--proxy "127.0.0.1:端口号"也报同样的错

GYAO走代理的时候会报404

Basic Information

To Reproduce
Steps to reproduce the behavior:
命令:minyami -d "https://vod01-gyao.c.yimg.jp/4235717419001/6021924662001/4235717419001_6021924662001_6021072921001.m3u8" --proxy "127.0.0.1:1080"
在使用代理之后会报 [404 Not Found on Accelerator]
但同时间用chrome设置代理并打开这个m3u8(安装了HLS插件)则可以正常播放
代理下载其他网站如abematv正常
使用(chrome应用版本的)postman走代理访问m3u8也是正常读取的
而同一个m3u8不使用代理能正常打开并且下载,只是速度太慢
不知道是否是因为GYAO设置了新的拦截方式导致的

下载过程中出现内存溢出问题

Error Report:
<--- Last few GCs --->

[34348:0000019CBBBCD6B0] 3563341 ms: Mark-sweep 1393.1 (1408.7) -> 1393.1 (1408.7) MB, 104.6 / 0.0 ms (average mu = 0.893, current mu = 0.006) last resort GC in old space requested
[34348:0000019CBBBCD6B0] 3563456 ms: Mark-sweep 1393.1 (1408.7) -> 1393.1 (1408.7) MB, 115.0 / 0.0 ms (average mu = 0.806, current mu = 0.001) last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

0: ExitFrame [pc: 00000282D35DC5C1]

Security context: 0x01a14311e6e9
1: stringSlice(aka stringSlice) [000000A00E913391] [buffer.js:594] [bytecode=000000A00E955331 offset=91](this=0x027b951026f1 ,buf=0x0080fdb06781 ,encoding=0x01a14313e2e1 <String[4]: utf8>,start=0,end=2743805)
2: toString [00000142C7320429] [buffer.js:667] [bytecode=000000A00E954E21 offset=145](this=0x00...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 00007FF7D027C6AA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
2: 00007FF7D0257416 node::MakeCallback+4534
3: 00007FF7D0257D90 node_module_register+2032
4: 00007FF7D057189E v8::internal::FatalProcessOutOfMemory+846
5: 00007FF7D05717CF v8::internal::FatalProcessOutOfMemory+639
6: 00007FF7D0757F94 v8::internal::Heap::MaxHeapGrowingFactor+9620
7: 00007FF7D075645B v8::internal::Heap::MaxHeapGrowingFactor+2651
8: 00007FF7D08802BB v8::internal::Factory::AllocateRawWithImmortalMap+59
9: 00007FF7D0882C2D v8::internal::Factory::NewRawOneByteString+77
10: 00007FF7D0881D99 v8::internal::Factory::NewStringFromOneByte+121
11: 00007FF7D0881E7A v8::internal::Factory::NewStringFromUtf8+106
12: 00007FF7D058D09B v8::String::NewFromUtf8+363
13: 00007FF7D0245561 node::Buffer::New+24225
14: 00007FF7D0784382 std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+79442
15: 00007FF7D078580D std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+84701
16: 00007FF7D0784866 std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+80694

怀疑由于直播过长(10H+)出现内存溢出问题,希望能在之后的版本对这一问题进行解决

某些带key的m3u8无法下载 (403)

Basic Information

  • Node.js version: v12.18.3
  • Minyami version: 3.0.9

Describe the bug

http://eqe003odff.eq.webcdn.stream.ne.jp/www50/eqe003odff/jmc_pub/jmc_pd/00011/391907c69ce1460ea991af4865c52ff9_crypt/391907c69ce1460ea991af4865c52ff9_23_cryptmedia.m3u8?__token=EGJqlO+aemAO/q++ed+xonZo3hgyRc7HyGaF0A2Y4KBDGIloj6TGVCN5wwQEjM9H22IL2+9dWh+P2rz7izJ+MNS2dykqQLS2pKljmBg1M0Q=oxDzYycOY20qgypH

这个地址我用ffmpegmpv都可以正常下载/播放,但是minyami会报403错误

[MINYAMI][INFO] Start fetching M3U8 file.
[MINYAMI][INFO] M3U8 file fetched.
[MINYAMI][WARN] Site is not supported by Minyami Core. Try common parser.
undefined
[MINYAMI][INFO] Downloading decrypt keys. (1 / 1)
{ responseType: 'arraybuffer' }
Error Request failed with status code 403 Error: Request failed with status code 403
    at createError (C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\node_modules\axios\lib\core\settle.js:18:12)
    at IncomingMessage.handleStreamEnd (C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\node_modules\axios\lib\adapters\http.js:202:11)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (_stream_readable.js:1220:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

录制m3u8时出现 TypeError Cannot read property '1' of null

录制m3u8时出现

TypeError Cannot read property '1' of null TypeError: Cannot read property '1' of null
at M3U8.getChunkLength (/usr/local/lib/node_modules/minyami/dist/core/m3u8.js:139:72)
at LiveDownloader. (/usr/local/lib/node_modules/minyami/dist/core/live.js:199:63)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/minyami/dist/core/live.js:5:58)
at process._tickCallback (internal/process/next_tick.js:68:7)

之后会一直 Sleep 或者卡在报错后的一个块一直输出这段,而且无法正常中止不能自动合并 只能两次Control+C停掉,无限Sleep后 可以正常中止且自动合并
[MINYAMI][DEBUG] Downloading https://icraft.hs.llnwd.net/ic-www/iphone3/HLS_Layer1/4304_Period3/segment5112.ts
[MINYAMI][DEBUG] Downloading segment5112.ts
[MINYAMI][DEBUG] Downloading segment5112.ts succeed.
[MINYAMI][WARN] Processing segment5112.ts failed.
[MINYAMI][DEBUG] Cannot read property '1' of null

运行
minyami --d "https://www.uniqueradio.jp/agplayerf/hls/HLS_Layer1-cdn.m3u8" --o "output.ts" --live --debug

发生时间不确定,刚开始、开始没多久或者几个小时后 都发生过

win和linux两个环境下都会出现
minyami 3.1.11
nodejs v10.19.0
nodejs v14.15.1

Nico好像又死了

Basic Information

  • Node.js version: v10.15.1
  • Minyami version: 2.1.14
  • Minyami Extractor (Chrome Extension) version: 1.0.14
  • Video URL: http://live2.nicovideo.jp/watch/lv318258384
    视频前半段公开,最后30分钟是会员限定。

Describe the bug
正常下载前几十个chunk后(就一两秒)报错并提示403。
尝试了--threads 1故障依旧。
恢复模式-r也会立刻403退出。

[MINYAMI][WARN] Downloading or decrypting 215266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 205266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 200266.ts failed. Retry later.
[MINYAMI][INFO] Chunk group action failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 225266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 220266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 230266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 235266.ts failed. Retry later.
[MINYAMI][INFO] Chunk group action failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 240266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 250266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 255266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 245266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 260266.ts failed. Retry later.
[MINYAMI][INFO] Chunk group action failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 275266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 265266.ts failed. Retry later.
[MINYAMI][INFO] Chunk group action failed.
[MINYAMI][INFO] Error: Request failed with status code 403
[MINYAMI][WARN] Downloading or decrypting 280266.ts failed. Retry later.
[MINYAMI][WARN] Downloading or decrypting 285266.ts failed. Retry later.

YouTube Live 下载过程中卡住

Basic Information

  • Node.js version: v12.10.0.
  • Minyami version: 2.2.14
  • Minyami Extractor (Chrome Extension) version: 1.1.6

Describe the bug

这个bug最近两天碰到两次,都是下载YTB live(播放中时)
就是正常的从插件复制参数+勾选直播,下载到一半就停住(同时播放的网页正常)不再继续下载,报错如下

[MINYAMI][INFO] M3U8 file fetched.
TypeError Cannot read property '1' of null TypeError: Cannot read property '1' of null
    at LiveDownloader.downloader.onChunkNaming (C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\dist\core\parsers\
youtube.js:6:53)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\dist\core\live.js:147:79
    at Array.forEach (<anonymous>)
    at LiveDownloader.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\dist\core\live.js:145:34)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\Administrator\AppData\Roaming\npm\node_modules\minyami\dist\core\live.js:5:58)
>

这个Error并不是一定都会导致下载停止,有时候下载还能继续:

image

建议把临时文件放在当前目录或输出目录

今天录制时因为想录节目全长和其中一小部分,同时开了两个进程录制。最后发现临时文件以及temp.json都混在了一起,最后merge失败,而且改一改json手动merge之后,两个进程录的内容也混在了一起也是按时间混在一起。
希望能把temp和temp.json放在输出目录这样就方便开两个进程了……

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.