Closed coozgan closed 6 years ago
@coozgan details required. what command you are using & all other things?
Hey, I used the python udemy-dl.py https://www.udemy.com/COURSE_NAME
I use the configuration provided to input my credentials.
@coozgan delete the configuration
file and then try to download
Hello @r0oth3x49 , I made it work thanks. But was there a way that I can use it with configuration? Thanks by the way. Also, if you just don't mind. can you tweak a bit of the saved links, as it saves the keyword not the actual link. Thanks. Have a great day!
@coozgan yes there is a way. initially use -c
or --config
command also mention in README
how you can cache your credentials.
Example:
python udemy-dl.py -u USERNAME -p P4SSWORD COURSE_URL --config
OR
python udemy-dl.py COURSE_URL --config
this command will create a configuration file for you which then you can edit using any text editor configuration file will looks like.
Note
You can edit only these and do not remove inverted commas ("
) you should write inside like "1080"
When you will run the script again it will use the configuration file.
and it will be great if you explain a bit the second thing you want me to done. not getting your point.
Also, if you just don't mind. can you tweak a bit of the saved links, as it saves the keyword not the actual link.
Here is how your external links work; it saves links as text and it only prints the keywords like this
- b'Dual-Booting-explained' /*This is not a link*/
- b'Exploiting-dram-rowhammer-Could-be-used-on-VMs-in-the-future-' /*This is not a link*/
- b'https://googleprojectzero.blogspot.co.uk/2015/03/exploiting-dram-rowhammer-bug-to-gain.html' /*This is the only link/
- b'How-to-run-your-Applications-in-a-Mac-OS-X-sandbox-to-enhance-security' /*This is not a link*/
I commented it as not link because its a keyword.
@coozgan are talking about external-links.txt
file created by this script or
when you simply use --save-links
command.
if external-links.txt
then it simply writes the content given by udemy in ExternalLink asset. one thing i can add that skipping those external links.
@coozgan i m closing this issue and i will w8 for more suggestion about changing the way you suggested.
Hello, Im having this problem, I am having error like this can you help me?