Puyodead1 / udemy-downloader

A Udemy downloader that can download courses, with DRM support.
MIT License
1.37k stars 313 forks source link

[Bug]: It seem we cannot download those preview lectures in a course. #240

Closed swahpy closed 3 months ago

swahpy commented 3 months ago

What happened?

I was downloading a course in my personal plan. After download was done, I found the preview lectures were missing. And I've checked the logs, which showed that INFO: > Lecture '001 Introduction' is missing media links. So it will not download the lectures without the media links. I was using the lastest commit. And I reverted back to commit 745ea11, it worked. So I believe there is a bug in the lastest commit.

Expected Result

The preview lectures should be downloaded as well in order for the intact

Branch

master/main

What operating systems are you seeing the problem on?

Windows

Relevant log output

[08:31:44] [udemy-downloader] [parse_new:1616] INFO: ======= Processing chapter 1 of 6 =======
[08:31:44] [udemy-downloader] [parse_new:1644] INFO:   > Processing lecture 1 of 112
[08:31:44] [udemy-downloader] [process_lecture:1470] INFO:       > Lecture '001 Introduction' is missing media links
[08:31:44] [udemy-downloader] [parse_new:1667] INFO: Processing 4 caption(s)...
[08:31:44] [udemy-downloader] [process_caption:1427] INFO:     >  Downloading caption: '001 Introduction_en.vtt'
[08:31:45] [udemy-downloader] [process_caption:1440] INFO:     > Converting caption to SRT format...
[08:31:45] [udemy-downloader] [process_caption:1442] INFO:     > Caption conversion complete.
[08:31:45] [udemy-downloader] [parse_new:1675] INFO:     > Processing 0 asset(s) for lecture...

Other information

No response

Puyodead1 commented 3 months ago

resolved in 71ecdb6a474e6dc3aa466bace183cb9767823aea