Puyodead1 / udemy-downloader

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

[Bug]: Unknown command line flag 'enable_raw_key_decryption' #211

Closed ahmed8aju closed 6 months ago

ahmed8aju commented 6 months ago

What happened?

[02:28:08] [udemy-downloader] [handle_segments:1425] INFO: > Lecture Tracks Downloaded [02:28:08] [udemy-downloader] [handle_segments:1433] INFO: KID for video file is: 6EF42BC4115F481BA012B4DCEF68B5BA [02:28:08] [udemy-downloader] [handle_segments:1440] INFO: KID for audio file is: 6EF42BC4115F481BA012B4DCEF68B5BA [02:28:08] [udemy-downloader] [handle_segments:1446] INFO: > Decrypting video, this might take a minute... ERROR: Unknown command line flag 'enable_raw_key_decryption' ERROR: Unknown command line flag 'keys'. Did you mean: v ? [02:28:08] [udemy-downloader] [handle_segments:1469] ERROR: Error: Traceback (most recent call last): File "C:\Users\Downloads\udemy-downloader-master\main.py", line 1447, in handle_segments ret_code = decrypt(video_kid, video_filepath_enc, video_filepath_dec) File "C:\Users\Downloads\udemy-downloader-master\main.py", line 1310, in decrypt raise Exception("Decryption returned a non-zero exit code") Exception: Decryption returned a non-zero exit code

Expected Result

It should decrypted the files!

Branch

master/main

What operating systems are you seeing the problem on?

Windows

Relevant log output

[02:28:08] [udemy-downloader] [handle_segments:1425] INFO: > Lecture Tracks Downloaded
[02:28:08] [udemy-downloader] [handle_segments:1433] INFO: KID for video file is: 6EF42BC4115F481BA012B4DCEF68B5BA
[02:28:08] [udemy-downloader] [handle_segments:1440] INFO: KID for audio file is: 6EF42BC4115F481BA012B4DCEF68B5BA
[02:28:08] [udemy-downloader] [handle_segments:1446] INFO: > Decrypting video, this might take a minute...
ERROR: Unknown command line flag 'enable_raw_key_decryption'
ERROR: Unknown command line flag 'keys'. Did you mean: v ?
[02:28:08] [udemy-downloader] [handle_segments:1469] ERROR: Error:
Traceback (most recent call last):
  File "C:\Users\Downloads\udemy-downloader-master\main.py", line 1447, in handle_segments
    ret_code = decrypt(video_kid, video_filepath_enc, video_filepath_dec)
  File "C:\Users\Downloads\udemy-downloader-master\main.py", line 1310, in decrypt
    raise Exception("Decryption returned a non-zero exit code")
Exception: Decryption returned a non-zero exit code

Other information

No response

Puyodead1 commented 6 months ago

shaka-packager is outdated.

ahmed8aju commented 6 months ago

Which version should I use? Currently, I am using the v3.0.1 [Latest]

Puyodead1 commented 6 months ago

Uhhhhh, okay I didn't know they released a new version (it's been like 2 years). Try 2.6.1 and I'll look into the new version and see what's going on

ahmed8aju commented 6 months ago

I tried 2.6.1 and still getting the same error!

Puyodead1 commented 6 months ago

Then you are doing something wrong, cause it works fine.

Puyodead1 commented 6 months ago

3.0.1 works fine also

ahmed8aju commented 5 months ago

okay, I figure it out... I put the wrong exe file at the location. It's working fine now! Thanks for everything and specially for this awesome tool.