Puyodead1 / udemy-downloader

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

[Bug]: Packager is installed but script isn't running #216

Closed BlenDaniel closed 4 months ago

BlenDaniel commented 4 months ago

What happened?

So, here are the commands I run. [09:22:07] [udemy-downloader] [pre_run:331] INFO: Output directory set to /Users//Documents/"Udemy course download"/udemy-downloader/out_dir [09:22:07] [udemy-downloader] [main:1919] CRITICAL: > Shaka Packager is missing from your system or path! % packager --version packager version v3.0.4-ceeb378a856-release

What am I doing wrong here?

Expected Result

For it to download

Branch

master/main

What operating systems are you seeing the problem on?

MacBook , Apple M1 MacOS Sonoma Version 14.4.1

Relevant log output

The packager is installed and version is verified. ~ % which packager /usr/local/bin/packager ~ % packager --version packager version v3.0.4-ceeb378a856-release

Other information

No response

oijm17 commented 4 months ago

I think you just have to rename the binary so that the script can locate it.

sudo mv /usr/local/bin/packager /usr/local/bin/shaka-packager

Although it would be good if the script could find the binary in both ways, since depending on the operating system used, the default name varies a little.

packager

either

shaka-packager