Closed tranthanhbinh2603 closed 11 months ago
You didn't use -sc
But it's not work.
The command i tried:
main.py -c https://www.udemy.com/course/unitycourse --browser firefox --subscription-course
main.py -c https://www.udemy.com/course/unitycourse -sc --browser chrome
main.py -c https://www.udemy.com/course/unitycourse -sc --browser firefox
main.py -sc -c https://www.udemy.com/course/unitycourse --browser firefox
But all return 1 result:
[10:04:24] [udemy-downloader] [pre_run:323] INFO: Output directory set to D:\Downloads\Compressed\udemy-downloader-master\out_dir
[10:04:24] [udemy-downloader] [main:1907] INFO: > Fetching course information, this may take a minute...
[10:04:26] [udemy-downloader] [_extract_subscription_course_info:919] CRITICAL: Unable to extract arguments from course page! Make sure you have a cookies.txt file!
Can you give me a solution again?
Try adding /learn/ to the url
Try adding /learn/ to the url
It works. Thank you very much.
What happened?
I always get the error "Unable to extract arguments from course page! Make sure you have a cookies.txt file!" when I try to load a course in my Personal Plans course. Whether I tried adding the argument "--browser chrome" or "--browser firefox". Or I even leave out the argument and add the cookies.txt file into the directory but still no success.
Here is my entire process:
First, i use this command:
Second, i use this command:
Third, i create a file cookies.txt in the folder install: And create a json cookies by https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm Copy it and paste in file cookies.txt And run this command
I try by Netspace Cookies in that extension, but all three method return the same result:
So, how can I get cookies for course downloads in my Personal Plans?
Expected Result
I can download the course (I already have the ID KEY and decryption KEY)
Branch
master/main
What operating systems are you seeing the problem on?
Windows
Relevant log output
Other information
OS: Win 10 Pro build 19045.3448