yann0917 / dedao-dl

得到 APP 课程下载工具,可在终端查看文章内容,可生成 PDF,音频文件,markdown 文稿,可下载电子书。
MIT License
600 stars 116 forks source link

下载音频文件出现认证失败 Server returned 401 Unauthorized (authorization failed) #186

Open Mercy1101 opened 1 year ago

Mercy1101 commented 1 year ago

Describe the bug

可以下载课程的 pdf 和 md, 下载音频文件时会出现认证失败。

(前段时间是可以下载音频文件的)

To Reproduce Steps to reproduce the behavior:

  1. 命令行扫码正确登陆后(dedao-dl login -q)
  2. dedao-dl dl 301 -t 1
  3. 出现该认证失败错误

Expected behavior

可以正确下载音频文件

Screenshots If applicable, add screenshots to help explain your problem.

image

ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
https://m.igetget.com/ddmedia/public/v1/m3u8/3403242570514724/52/m.m3u8: Server returned 401 Unauthorized (authorization failed)

Desktop (please complete the following information):

yann0917 commented 1 year ago

不要一整个课程全部下载,一节一节下载试试看,我之前试过,下载太快会触发验证的。