ERROR: Unable to extract course id; - Udemy

问题描述 投票:0回答:1

我试图下载一个Udemy课程,使用的是 youtube-dl用下面的命令

C:\Users\victo> youtube-dl -u [email protected] -p password course_link

但是,它回来了

[udemy:course] Downloading login popup
[udemy:course] Logging in
[udemy:course] course: Downloading webpage
[udemy:course] 1622370: Downloading course curriculum
[download] Downloading playlist: 1622370
[udemy:course] playlist 1622370: Collected 10 video ids (downloading 10 of them)
[download] Downloading video 1 of 10
[udemy] Downloading login popup
[udemy] 9850364: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

如何解决这个问题?

python video download youtube-dl
1个回答
0
投票

请检查你提供的课程URL中是否有课程。

Actual URL: https://www.udemy.com/course/zoho-creator-tutorial-series/learn/lecture
Input URL(should Be): https://www.udemy.com/zoho-creator-tutorial-series/learn/lecture

其他方法

  1. pip install youtube-dl(你可以跳过这个,因为你已经安装了这个)
  2. 安装 cookies.txt 铬合金扩展
  3. 登录到Udemy并点击扩展以保存cookie
  4. youtube-dl --cookies <CookiesPath> -o "<BasePath>/%(playlist)s/%(chapter_number)s – %(chapter)s/%(playlist_index)s – %(title)s.%(ext)s" "<CourseURL>"

鉴于:

© www.soinside.com 2019 - 2024. All rights reserved.