Code Monkey home page Code Monkey logo

Comments (14)

r0oth3x49 avatar r0oth3x49 commented on August 16, 2024 1

@psarz which course are you trying to download i did tried against this free course https://www.udemy.com/learn-ruby-on-rails-from-scratch/ it works like charm. so i need a bit explanation.

from udemy-dl.

r0oth3x49 avatar r0oth3x49 commented on August 16, 2024 1

@psarz i don't know why you are facing such kind of weird errors. for me it works fine i cannot reproduce so i will w8 for more reports from others no solution for this yet.

from udemy-dl.

nyoman avatar nyoman commented on August 16, 2024 1

Hi Babazon,
Now I can download my courses from udemy.
I used to use UDEMY-DL.EXE and I experienced problems as mentioned by others.
So, thanks for showing this link: git clone https://github.com/r0oth3x49/udemy-dl.git

I suggest any one to check this link: https://github.com/r0oth3x49/udemy-dl
to get this: git clone https://github.com/r0oth3x49/udemy-dl.git)

Here is the image that I made it.
udemy-dl

from udemy-dl.

psarz avatar psarz commented on August 16, 2024

@r0oth3x49 , I am not even able to download the free course, i.e.https://www.udemy.com/learn-ruby-on-rails-from-scratch/.

File "/home/ec2-user/udemy-dl/udemy/_extractor.py", line 137, in _regex_course_id
course_id = unescapeHTML(_search_simple_regex(r'(?<="id":\s)(\d+)',webpage).group())
AttributeError: 'NoneType' object has no attribute 'group'

as per the stackoverflow link attached below expression contains non-latin characters, so it usually fails. might need decode into Unicode.

https://stackoverflow.com/questions/15232832/python-regex-attributeerror-nonetype-object-has-no-attribute-groups

I am just a beginner, hope this help you to fix my issue.

Thanks a lot for reply.

from udemy-dl.

r0oth3x49 avatar r0oth3x49 commented on August 16, 2024

@psarz how can i reproduce this error? i have checked the code it works perfectly on Windows 8.1/8/7, Mac, Linux. i cannot add the fix until i can reproduce this error. and one more thing i have added two methods to extract the course id if some how it fails with one should extract with other,

from udemy-dl.

psarz avatar psarz commented on August 16, 2024

Traceback (most recent call last):
File "udemy-dl.py", line 898, in
main()
File "udemy-dl.py", line 688, in main
udemy.ExtractAndDownload()
File "udemy-dl.py", line 288, in ExtractAndDownload
videos_dict = self.clean_dict(extract_info.real_extract(self.url, course_name, course_path))
File "/home/psarz/udemy-dl/udemy/_extractor.py", line 226, in real_extract
num_lect = int(self._lecture_count(response))
File "/home/psarz/udemy-dl/udemy/_extractor.py", line 177, in _lecture_count
for entry in response['results']:
KeyError: 'results'

Not working :|

from udemy-dl.

Babazon avatar Babazon commented on August 16, 2024

This error happens on login for me

[INFO-133] Trying to log in ...
[ERROR-61] Exception
Traceback (most recent call last):
  File "/usr/local/bin/udemy-dl", line 7, in <module>
    main()
  File "/usr/local/lib/python2.7/site-packages/udemy_dl/udemy_dl.py", line 947, in main
    save_links, safe_file_names, just_list, output_dest, dir_use_course_title)
  File "/usr/local/lib/python2.7/site-packages/udemy_dl/udemy_dl.py", line 744, in udemy_dl
    login(username, password)
  File "/usr/local/lib/python2.7/site-packages/udemy_dl/udemy_dl.py", line 134, in login
    csrf_token = get_csrf_token()
  File "/usr/local/lib/python2.7/site-packages/udemy_dl/udemy_dl.py", line 128, in get_csrf_token
    return match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

udemy-dl is up to date. the course is bought (I only download courses I have bought, because I don't have the kind of internet to stream hd videos)

from udemy-dl.

ronkiwest avatar ronkiwest commented on August 16, 2024

Same problem on login on windows 7.

Trying to log in ...
Exception
Traceback (most recent call last):
File "udemy_dl.py", line 976, in module
File "udemy_dl.py", line 971, in main
File "udemy_dl.py", line 766, in udemy_dl
File "udemy_dl.py", line 156, in login
File "udemy_dl.py", line 150, in get_csrf_token
AttributeError: 'NoneType' object has no attribute 'group'
Failed to execute script udemy_dl

from udemy-dl.

anthonymuna avatar anthonymuna commented on August 16, 2024

same issue. Has anyone found the solution?
screenshot at 2018-04-06 15-27-39

from udemy-dl.

elzerver avatar elzerver commented on August 16, 2024

from udemy-dl.

anthonymuna avatar anthonymuna commented on August 16, 2024

from udemy-dl.

psarz avatar psarz commented on August 16, 2024

from udemy-dl.

Babazon avatar Babazon commented on August 16, 2024

You may be installing the wrong udemy-dl

This package is installed via:
git clone https://github.com/r0oth3x49/udemy-dl.git

If you are installing
pip install udemy-dl
That package has the noted problem and no fancy GUI in the cli.

from udemy-dl.

Bhuyang avatar Bhuyang commented on August 16, 2024

@r0oth3x49 I am getting "403 Unauthorized retry after few minutes ..." error during login. Please do the needful.
udemy_download

from udemy-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.