Coursera 批量下載器安裝&使用 筆記

1.批量下載工具安裝

Coursera dl 說明
python下載地址

第一步 python的下載與安裝

從提供的鏈接進入下載后安裝即可,安裝中有個在Path中添加Python的選項,記得點上。

第二部 安裝coursera dl

以管理員身份運行cmd(Win10用戶在左下角視窗logo上點右鍵,然后選擇“命令提示符(管理員)”),輸入

pip install coursera

回車執行
如果要更新輸入

pip install --upgrade coursera

更新后可能出現無法使用的情況。

2.課程下載

以管理員身份運行cmd,輸入

coursera-dl -u 用戶名 -p 登陸密碼 課程名稱

默認下載的位置在打開cmd顯示的那一行地址內。

什么是課程名稱?
點開你想學習的課程(有些課程可能需要你enroll后才能下載,我沒有測試),查看它的網址,比如

新課程
https://www.coursera.org/course/algs4partI/*******
https://www.coursera.org/learn/science-of-meditation/*****
https://www.coursera.org/learn/machine-learning/***********

老課程
https://class.coursera.org/ml-003/lecture/
https://class.coursera.org/neuralnets-2012-001/lecture

那么以上這五個課程的名稱分別是

algs4partI
science-of-meditation
machine-learning

ml-003
neuralnets-2012-001


常用命令

General: coursera-dl -u <user> -p <pass> modelthinking-004
Multiple classes: coursera-dl -u <user> -p <pass> saas historyofrock1-001 algo-2012-002
Filter by section name: coursera-dl -u <user> -p <pass> -sf "Chapter_Four" crypto-004
Filter by lecture name: coursera-dl -u <user> -p <pass> -lf "3.1_" ml-2012-002
Download only ppt files: coursera-dl -u <user> -p <pass> -f "ppt" qcomp-2012-001
Use a ~/.netrc file: coursera-dl -n -- matrix-001
Get the preview classes: coursera-dl -n -b ni-001
Specify download path: coursera-dl -n --path=C:\Coursera\Classes\ comnetworks-002
Display help: coursera-dl --help

Maintain a list of classes in a dir:
Initialize: mkdir -p CURRENT/{class1,class2,..classN}
Update: coursera-dl -n --path CURRENT \ls CURRENT

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容