- reputation score 30959
- 22 gold badges
- 111 silver badges
- 134 bronze badges
I am posting a way to use _netrc to download materials from the site www.course.com.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com, and on the Windows OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U <username> -P <password> for convenience. He/she can do it like this:
Check the home path on Windows OS:OS:
setx HOME %USERPROFILE%(refer toVonC's answer). It will save theHOMEenvironment variable asC:\Users\"username".Locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>Use a command like
coursera-dl -n --path PATH <course name>to download the class materials. moreMore coursera-dl options details for this page.
I am posting a way to use _netrc to download materials from the site www.course.com.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com, and on the Windows OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U <username> -P <password> for convenience. He/she can do it like this:
Check the home path on Windows OS:
setx HOME %USERPROFILE%(refer toVonC's answer). It will save theHOMEenvironment variable asC:\Users\"username".Locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>Use command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.
I am posting a way to use _netrc to download materials from the site www.course.com.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com, and on the Windows OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U <username> -P <password> for convenience. He/she can do it like this:
Check the home path on Windows OS:
setx HOME %USERPROFILE%(refer toVonC's answer). It will save theHOMEenvironment variable asC:\Users\"username".Locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>Use a command like
coursera-dl -n --path PATH <course name>to download the class materials. More coursera-dl options details for this page.
- reputation score 30959
- 22 gold badges
- 111 silver badges
- 134 bronze badges
PostI am posting a way to use _netrc to download materials from the site www.course.com.I'd hope some helps for youwww.course.com.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com ., and ON WINDOWSon the Windows OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n-n instead of -U -P for-U <username> -P <password> for convenience.He He/she can do it like this:
checkCheck the home path on Windows OS:
setx HOME %USERPROFILE%(refer torefer: VonC 'sVonC's answer)。it. It will save theHOMEenvironment variable asC:\Users\"username".locateLocate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>useUse command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.
Post a way use _netrc to download materials from the site www.course.com.I'd hope some helps for you.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com . and ON WINDOWS OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U -P for convenience.He can do like this:
check the home path on Windows OS:
setx HOME %USERPROFILE%(refer: VonC 's answer)。it will save theHOMEasC:\Users\"username".locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>use command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.
I am posting a way to use _netrc to download materials from the site www.course.com.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com , and on the Windows OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U <username> -P <password> for convenience. He/she can do it like this:
Check the home path on Windows OS:
setx HOME %USERPROFILE%(refer toVonC's answer). It will save theHOMEenvironment variable asC:\Users\"username".Locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>Use command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.
Post a way use _netrc to download materials from the site www.course.com.I'd hope some helps for you.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com. and ON WINDOWS OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U -P for convenience.He can do like this:
check the home path on Windows OS:
setx HOME %USERPROFILE%(refer: VonC 's answer refer: VonC 's answer)。it will save theHOMEasC:\Users\"username".locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>use command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.
Post a way use _netrc to download materials from the site www.course.com.I'd hope some helps for you.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com. and ON WINDOWS OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U -P for convenience.He can do like this:
check the home path on Windows OS:
setx HOME %USERPROFILE%(refer: VonC 's answer)。it will save theHOMEasC:\Users\"username".locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>use command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.
Post a way use _netrc to download materials from the site www.course.com.I'd hope some helps for you.
If someone is going to use the coursera-dl to download the open-class materials on www.coursera.com. and ON WINDOWS OS someone wants to use a file like ".netrc" which is in like-Unix OS to add the option -n instead of -U -P for convenience.He can do like this:
check the home path on Windows OS:
setx HOME %USERPROFILE%(refer: VonC 's answer)。it will save theHOMEasC:\Users\"username".locate into the directory
C:\Users\"username"and create a file name_netrc.NOTE: there is NOT any suffix. the content is like:machine coursera-dl login <user> password <pass>use command like
coursera-dl -n --path PATH <course name>to download the class materials. more coursera-dl options details for this page.