Udemy-dl: Download doesn't work for udemy business

Created on 30 Nov 2017  路  15Comments  路  Source: r0oth3x49/udemy-dl

I've tried to use your tool with udemy for business, but the download doesn't work. This is caused by the hardcoded udemy url in your source code. Also if you want to use udemy business, you've adjust the login scrf regex pattern.

Overall the changes to get your tool working with udemy business is pretty simple.
I would offer myself to develop this feature. Are you interested in this?

All 15 comments

@Marcel-Lambacher this is out of scope currently & thanks for your good offer but sorry i am not interested. when ever i get the business account i will add the support by my self.

@Marcel-Lambacher I would love to see this feature. Would you be willing to fork this project and make the necessary changes even if they don't get merged back into this project? Thanks

Hello Jman69,

unfortunately I'll not contribute or fork this software anymore. Overall there are some more issues in this software, so I made the decission to write an own version of this udemy downloader. If you're interessted you're welcome to visit my profile. There is a project called "UdemyDownloader". At this moment, the software is far away to be finish. I guess you can use it for downloading in about 2 Months.

@Marcel-Lambacher sorry if you mind my words. @jman69 i have tested the latest repo against one of udemy business account and it is working fine now for me & for many friends as well.

@r0oth3x49 using the latest repo the error is You are not enrolled in this course Udemy Says : Resource not found... I don't think the repo as is supports the necessary differences in the URLs for Business accounts, and how the login form is different from the generic www.udemy.com one. It needs to support the form and csrf token format on business URLs like https://trial.udemy.com/organization/login/. Thanks for trying

@jman69 it means it logs you in successfully or i am wrong?
Here is what you get when you download a course from udemy business correct me if i am wrong?
POC
untitled

it means in your account you did not enrolled in this particular course so simply go to the course URL and enroll your self then try to download. I did the same and have a look i 'm using udemy business.

POC
untitled11

will be waiting for your response

@r0oth3x49 it works when the URL has /learn/v4 at the end of it it. Just the plain URL without that I get the error that I'm not enrolled.

@jman69 i just tested the way you said works when URL has /learn/v4 seems magical :P . i am looking whats going on. but the fact is, it works for you now on your udemy business account am i right?

@r0oth3x49 yes it works with the /learn/v4 URL on a busienss account nicely. Thanks for keeping working on this! hope you find the issue with the other URL!

@jman69 always welcome. enjoy your learning 馃憤 and thanks for using this utility.

You are a genius Nisar. Is there anyway if I can donate you for a little treat from my side?

Will it work if the corporate udemy URL like "http://xylearning.udemy.com" redirects to SSO authentication page "https://accessidp.idaas.xy.net/idp/SSO.saml" andthen gets redirected back to udemy page. What should we be doing to login and download the course

Hi @r0oth3x49
Can you please answer the above comment by @antustephen , I am also looking for the same. Please reply earliest

Will it work if the corporate udemy URL like "http://xylearning.udemy.com" redirects to SSO authentication page "https://accessidp.idaas.xy.net/idp/SSO.saml" andthen gets redirected back to udemy page. What should we be doing to login and download the course

No. you should be using cookie based method instead.

  • once you authenticate using browser and redirected back to the udemy course then extract the cookies to file and use that cookie to download a course

Hi @r0oth3x49
Can you please answer the above comment by @antustephen , I am also looking for the same. Please reply earliest

as i said you should be using cookie based method instead

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Puyodead1 picture Puyodead1  路  8Comments

serhattsnmz picture serhattsnmz  路  3Comments

badjano picture badjano  路  6Comments

dpsproservices picture dpsproservices  路  9Comments

vivekpanchal picture vivekpanchal  路  8Comments