Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!

Return to Answer

Post Timeline

Second iteration.
Source Link
Peter Mortensen
  • 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:

  1. Check the home path on Windows OS:OS: setx HOME %USERPROFILE%(refer toVonC's answer). It will save the HOME environment variable as C:\Users\"username".

  2. 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>

  3. 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:

  1. Check the home path on Windows OS:setx HOME %USERPROFILE%(refer toVonC's answer). It will save the HOME environment variable as C:\Users\"username".

  2. 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>

  3. 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:

  1. Check the home path on Windows OS: setx HOME %USERPROFILE%(refer toVonC's answer). It will save the HOME environment variable as C:\Users\"username".

  2. 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>

  3. Use a command like coursera-dl -n --path PATH <course name> to download the class materials. More coursera-dl options details for this page.

Active reading. Unhid <username> and <password> by formatting.
Source Link
Peter Mortensen
  • 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:

  1. checkCheck the home path on Windows OS:setx HOME %USERPROFILE%(refer torefer: VonC 'sVonC's answer)。it. It will save the HOME environment variable as C:\Users\"username".

  2. 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>

  3. 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:

  1. check the home path on Windows OS:setx HOME %USERPROFILE%(refer: VonC 's answer)。it will save the HOME as C:\Users\"username".

  2. 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>

  3. 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:

  1. Check the home path on Windows OS:setx HOME %USERPROFILE%(refer toVonC's answer). It will save the HOME environment variable as C:\Users\"username".

  2. 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>

  3. Use command like coursera-dl -n --path PATH <course name> to download the class materials. more coursera-dl options details for this page.

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

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:

  1. check the home path on Windows OS:setx HOME %USERPROFILE%(refer: VonC 's answer refer: VonC 's answer)。it will save the HOME as C:\Users\"username".

  2. 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>

  3. 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:

  1. check the home path on Windows OS:setx HOME %USERPROFILE%(refer: VonC 's answer)。it will save the HOME as C:\Users\"username".

  2. 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>

  3. 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:

  1. check the home path on Windows OS:setx HOME %USERPROFILE%(refer: VonC 's answer)。it will save the HOME as C:\Users\"username".

  2. 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>

  3. use command like coursera-dl -n --path PATH <course name> to download the class materials. more coursera-dl options details for this page.

Source Link
BO.LI
  • reputation score 315
  • 1 silver badge
  • 10 bronze badges
Loading

AltStyle によって変換されたページ (->オリジナル) /