-
-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Labels
bugSomething isn't workingSomething isn't workingwaiting for responseWaiting for the author to respond with further informationWaiting for the author to respond with further information
Description
What happened?
I'm trying to download a course using docker. Below is the error. I have supplied the UDEMY_BEARER in the .env file.
If this is related to cookies - I even tried passing --browser chrome Not sure how the executable inside docker would get the cookie from my browser running in the host machine
docker run -it --rm \
-v $(pwd)/output:/app/out_dir:rw \
--env-file .env \
udemy-dl:v1 \
python main.py --browser chrome -c https://www.udemy.com/course/java-virtual-thread/learn --info
root@user1-pc:/home/user1/Downloads/udemy-downloader# docker run -it --rm -v $(pwd)/output:/app/out_dir:rw --env-file .env udemy-dl:v1 python main.py -c https://www.udemy.com/course/java-virtual-thread/learn --info
[07:44:49] [udemy-downloader] [pre_run:360] INFO: Output directory set to /app/out_dir
[07:44:49] [udemy-downloader] [main:1876] INFO: > Fetching course information, this may take a minute...
[07:44:51] [udemy-downloader] [_get:1147] ERROR: Failed request https://www.udemy.com/course/java-virtual-thread/learn
[07:44:51] [udemy-downloader] [_get:1148] ERROR: 403 Forbidden, retrying (attempt 0 )...
[07:44:53] [udemy-downloader] [_get:1147] ERROR: Failed request https://www.udemy.com/course/java-virtual-thread/learn
[07:44:53] [udemy-downloader] [_get:1148] ERROR: 403 Forbidden, retrying (attempt 1 )...
[07:44:55] [udemy-downloader] [_get:1147] ERROR: Failed request https://www.udemy.com/course/java-virtual-thread/learn
[07:44:55] [udemy-downloader] [_get:1148] ERROR: 403 Forbidden, retrying (attempt 2 )...
[07:44:56] [udemy-downloader] [_get:1147] ERROR: Failed request https://www.udemy.com/course/java-virtual-thread/learn
[07:44:56] [udemy-downloader] [_get:1148] ERROR: 403 Forbidden, retrying (attempt 3 )...
[07:44:58] [udemy-downloader] [_get:1147] ERROR: Failed request https://www.udemy.com/course/java-virtual-thread/learn
[07:44:58] [udemy-downloader] [_get:1148] ERROR: 403 Forbidden, retrying (attempt 4 )...
Expected Result
Videos to be downloaded in the output dir
Branch
master/main
What operating systems are you seeing the problem on?
No response
Relevant log output
Other information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwaiting for responseWaiting for the author to respond with further informationWaiting for the author to respond with further information