FaisalUmair / udemy-downloader-gui

A desktop application for downloading Udemy Courses
MIT License
6.12k stars 1.72k forks source link

stuck in "bulding course data" #571

Open crixus91 opened 3 years ago

crixus91 commented 3 years ago

When i hit the download button. it stuck in building course data forever. please help me....

TheGodiyal commented 3 years ago

i am getting the same issue with only one course, i am able to download rest image

course URL : https://www.udemy.com/course/the-data-science-course-complete-data-science-bootcamp

dev-dafi commented 3 years ago

The same happens to me, if I try to download this course: https://www.udemy.com/course/the-complete-nodejs-developer-course-2/

It's the only course I got this problem, otherwise it's a very handy tool. Thanks for your fantastic work so far Faisal!

KoichaDev commented 3 years ago

I also get it for some other courses as well. Please fix this @FaisalUmair

OkiemuteGold commented 3 years ago

Great work @FaisalUmair. But I'm also the same issue for my courses. After clicking download, it doesn't continue downloading.

neorus616 commented 3 years ago

same here, on every course, even the one's i already downloaded before

ayub-crypto commented 3 years ago

I get the same message. Is there any solution?

ogeeDeveloper commented 3 years ago

it looks like its when their as been some changes to the course structure it have that error. Because i am trying to download this course https://www.udemy.com/course/react-the-complete-guide-incl-redux/learn/lecture/8268492?start=30#overview i see that the course structure has changed some section have changed to legacy and its the only course that is not downloading

astrasia commented 3 years ago

Me too, it stuck to most of the courses.... The same happened on the Chrome Udemy download extension. Stuck at gathering the course list. Udemy has changed something that failed course listing.

arjanv commented 3 years ago

here also the same problem. hope it will be fixed

S-Furman commented 3 years ago

https://github.com/FaisalUmair/udemy-downloader-gui/issues/570#issuecomment-823101679

jyohan-dev commented 3 years ago

Having the same issue here, need help

mfranciscojr commented 3 years ago

Same issue here.

robotvinay commented 3 years ago

copy the code from the below attachement and replace the content in your assets/js/app.js file

new app.js.txt

The error is due to recent change in Udemy api data mapping

sapdeva commented 3 years ago

@robotvinay exact loaction please, I'm unable to find the exact path. thanks in advacne

arjanv commented 3 years ago

indeed where is that file located(windows)?

MrDavidson23 commented 3 years ago

copy the code from the below attachement and replace the content in your assets/js/app.js file

new app.js.txt

The error is due to recent change in Udemy api data mapping

Hey @robotvinay thanks for your solution, but I just upgrade the app,js file, but when I run npm install and npm start, the courses appear like this, idk if I did something wrong

Screen Shot 2021-04-21 at 12 09 53 PM
MrDavidson23 commented 3 years ago

indeed where is that file located(windows)?

You have to download the zip from here https://github.com/FaisalUmair/udemy-downloader-gui That's where you have to search for that file, after change it, you have to open your terminal in the root directory of the project downloaded and type npm install in order to install node modules and dependencies and after that, type npm start in order to start the application

With that it should work

jyohan-dev commented 3 years ago

Hi, by terminal you mean command prompt right?, cause I tried that and it doesn't work

MrDavidson23 commented 3 years ago

Hi, by terminal you mean command prompt right?, cause I tried that and it doesn't work

Yeah, just how I said, it should, but it doesn't seems to work in my computer neither, in my other comment I said what is happening to the app, it says undefined, so idk bro

jyohan-dev commented 3 years ago

Alright thanks, hope we get a fix from FaisalUmar soon

artha79master commented 3 years ago

have same problem here.. pls help...

sapdeva commented 3 years ago

@FaisalUmair Could you please check, when you get time....thanks in advance

ohadmn commented 3 years ago

copy the code from the below attachement and replace the content in your assets/js/app.js file

new app.js.txt

The error is due to recent change in Udemy api data mapping

After I replaced the app.js file with the new one it fixed the stuck issue, but when the course I was downloading finished, all of the mp4 files were very small(a few kilbobytes) and corrupted. Don't know if it caused by replacing the js file..

taluk48 commented 3 years ago

copy the code from the below attachement and replace the content in your assets/js/app.js file new app.js.txt The error is due to recent change in Udemy api data mapping

After I replaced the app.js file with the new one it fixed the stuck issue, but when the course I was downloading finished, all of the mp4 files were very small(a few kilbobytes) and corrupted. Don't know if it caused by replacing the js file..

yes. same situation happened to me. the first 6-7 videos downloaded smoothly, but the rest didn't download at all. I think the program skipped them all. There was only the name of the videos in the directory, not actual size.

Ekran görüntüsü 2021-04-22 184411

ShayHa commented 3 years ago

@taluk48 I am not even able to search courses, any chance you know the reason?

MrDavidson23 commented 3 years ago

If somebody knows another way to download udemy courses, please let me know, even if it is one by one

taluk48 commented 3 years ago

@taluk48 I am not even able to search courses, any chance you know the reason?

no. actually, I've never used the program to search courses. I already have less than 10 courses and it is easy for me to see them all together 😄

If somebody knows another way to download udemy courses, please let me know, even if it is one by one

you can try xtreme download manager. but downloading one by one will be tiring.

ShayHa commented 3 years ago

Can you download only purchased courses?

askaleks commented 3 years ago

Can you download only purchased courses?

Hi, actually yes the software works fine for paid courses, even now. But there are some that can't be downloaded it shows "Building Courses Data" error. I have no idea why. Just magic.

askaleks commented 3 years ago

@FaisalUmair Would be kind enough and look at this issue. Highly appreciate it.

enesdaggg commented 3 years ago

copy the code from the below attachement and replace the content in your assets/js/app.js file new app.js.txt The error is due to recent change in Udemy api data mapping

After I replaced the app.js file with the new one it fixed the stuck issue, but when the course I was downloading finished, all of the mp4 files were very small(a few kilbobytes) and corrupted. Don't know if it caused by replacing the js file..

yes. same situation happened to me. the first 6-7 videos downloaded smoothly, but the rest didn't download at all. I think the program skipped them all. There was only the name of the videos in the directory, not actual size.

Ekran görüntüsü 2021-04-22 184411

I have the same problem.

RahanSharma commented 3 years ago

Same issue , Help Please @FaisalUmair

dariusz22p commented 3 years ago

Just managed to download 1 course: 'Coaching for Growth and Success' but for any other course getting 'Building Course Data'

enesdaggg commented 3 years ago

It can only download the first video of the course, and the next ones in 5KB. The filenames are correct but video content is missing.

sogitgitty commented 3 years ago

I think this new bug is due to Udemy adding auto-generated subtitles to English videos a couple of weeks ago. Check out videos in other languages and they can all be downloaded with Udeler without any problem. Not sure if it will help @FaisalUmair fix it, but just wanted to give everyone a heads up!

MrDavidson23 commented 3 years ago

I think this new bug is due to Udemy adding auto-generated subtitles to English videos a couple of weeks ago. Check out videos in other languages and they can all be downloaded with Udeler without any problem. Not sure if it will help @FaisalUmair fix it, but just wanted to give everyone a heads up!

I actually recently tried to download videos, and I'm able to download either Spanish and English courses, except the one that I want 😂

artha79master commented 3 years ago

i try download the course not in english... and it success....

iynga commented 3 years ago

copy the code from the below attachement and replace the content in your assets/js/app.js file new app.js.txt The error is due to recent change in Udemy api data mapping

After I replaced the app.js file with the new one it fixed the stuck issue, but when the course I was downloading finished, all of the mp4 files were very small(a few kilbobytes) and corrupted. Don't know if it caused by replacing the js file..

I have the same problem

ghost commented 3 years ago

I am having the same issue. I think this problem applies to only the paid courses. @FaisalUmair, we need a quick fix.

iam-malithmax commented 3 years ago

@FaisalUmair first thank you for this amazing work. when you have a free time please look at this matter.thanks.

fatihyldz1 commented 3 years ago

I've replaced app.js file. It worked, thanks. Same issues arise unfortunately. I disabled subtitle from settings and it doesn't ask subtitle selection anymore. However, video files are still a few kilobytes. This was helping me to learn something else when I'm not connected to the internet. I hope that a developer can fix it for us. I'm not a developer. : (

naelkilani commented 3 years ago

@FaisalUmair can you please fix this issue?

hasanli-orkhan commented 3 years ago

Hello! Has anyone been able to fix the problem? I tried to replace the app.js file and it does not work. Can't download purchased courses that have sections (chapters). Also tried Udemy Downloader chrom extension & udemy-dl. They also not working(

MrDavidson23 commented 3 years ago

Hello!

Has anyone been able to fix the problem? I tried to replace the app.js file and it does not work. Can't download purchased courses that have sections (chapters).

Also tried Udemy Downloader chrom extension & udemy-dl. They also not working(

No dude, everything just stopped working

blankster commented 3 years ago

+1 for fixing this problem. @FaisalUmair I would appreciate it if you find time to fix this problem. Thanks in advance 👍

UmamaheswarReddyK commented 3 years ago

Same issue, Please have a look @FaisalUmair

Many people are facing this issue and all are waiting for you help. Thanks 👍

fatihyldz1 commented 3 years ago

It seems that he will not come back. It's better to start learning javascript and fork this repo.

Dibadan commented 3 years ago

Someone know what is 'v.id' ?

Using Postman, the Response Detail is : "You do not have permission to perform this action.".

Do you have the same problem?

function getLecture(lecturename, chapterindex, lectureindex) { $.ajax({ type: "GET", url: https://${subDomain}.udemy.com/api-2.0/users/me/subscribed-courses/${courseid}/lectures/${v.id}?fields[asset]=stream_urls,download_urls,captions,title,filename,data,body,media_sources,media_license_token&fields[lecture]=asset,supplementary_assets

hasanli-orkhan commented 3 years ago

Someone know what is 'v.id' ?

Using Postman, the Response Detail is : "You do not have permission to perform this action.".

Do you have the same problem?

function getLecture(lecturename, chapterindex, lectureindex) { $.ajax({ type: "GET", url: https://${subDomain}.udemy.com/api-2.0/users/me/subscribed-courses/${courseid}/lectures/${v.id}?fields[asset]=stream_urls,download_urls,captions,title,filename,data,body,media_sources,media_license_token&fields[lecture]=asset,supplementary_assets

You trying to perform GET request, but without sending auth cookies and getting 403 (Forbidden) error or something else.

v.id - video ID (the number identifier of current video)

DeweshSoc commented 3 years ago

Same issue. I cannot download the courses. Every time it gets stuck at "Building course data". Please look into it. Thank you.