All Projects → FLZ101 → Dl_coursera

FLZ101 / Dl_coursera

Licence: mit
A simple, fast, and reliable Coursera crawling & downloading tool

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dl coursera

University-of-California-San-Diego-Big-Data-Specialization
Repository for the Big Data Specialization from University of California San Diego on Coursera
Stars: ✭ 157 (+36.52%)
Mutual labels:  mooc, coursera
Online Courses Learning
Contains the online course about Data Science, Machine Learning, Programming Language, Operating System, Mechanial Engineering, Mathematics and Robotics provided by Coursera, Udacity, Linkedin Learning, Udemy and edX.
Stars: ✭ 193 (+67.83%)
Mutual labels:  coursera, mooc
Sodownloader
A simple downloader base on AFNetworking
Stars: ✭ 100 (-13.04%)
Mutual labels:  download
Geetest
滑动验证码,希望对你们有所帮助❤️
Stars: ✭ 114 (-0.87%)
Mutual labels:  crawl
Deeplearning.ai Convolutional Neural Networks
Completed assignment jupyter notebook of Foundations of Convolutional Neural Networks, deeplearning.ai coursera course
Stars: ✭ 109 (-5.22%)
Mutual labels:  coursera
Pspider
一个简单的分布式爬虫框架
Stars: ✭ 102 (-11.3%)
Mutual labels:  crawl
Robotics Coursework
🤖 Places where you can learn robotics (and stuff like that) online 🤖
Stars: ✭ 1,810 (+1473.91%)
Mutual labels:  coursera
Medialoader
Cache video/audio while playing for any android media player
Stars: ✭ 97 (-15.65%)
Mutual labels:  download
Mega.nz Idm Downloader
How to download from Mega.nz with IDM - Unlimited
Stars: ✭ 115 (+0%)
Mutual labels:  download
Action Download Artifact
⚙️ A GitHub Action to download an artifact associated with given workflow and commit or other criteria
Stars: ✭ 107 (-6.96%)
Mutual labels:  download
Filimo Downloader
Download movies from filimo.com | لینک جایگزین جهت احتیاط: https://gitlab.com/NabiKAZ/filimo-downloader
Stars: ✭ 113 (-1.74%)
Mutual labels:  download
Victor Mono
A free programming font with cursive italics and ligatures. Donations welcome ❤️
Stars: ✭ 1,854 (+1512.17%)
Mutual labels:  download
Andvaranaut
A dungeon crawler
Stars: ✭ 103 (-10.43%)
Mutual labels:  crawl
Tinymooc
🌸 Lightweight Java Platform Online Mooc Learning Website
Stars: ✭ 110 (-4.35%)
Mutual labels:  mooc
Destreamer
Save Microsoft Stream videos for offline enjoyment.
Stars: ✭ 1,365 (+1086.96%)
Mutual labels:  download
Cadl
ARCHIVED: Contains historical course materials/Homework materials for the FREE MOOC course on "Creative Applications of Deep Learning w/ Tensorflow" #CADL
Stars: ✭ 1,478 (+1185.22%)
Mutual labels:  mooc
Yi Note
YiNote browser extension - online video note taking tool
Stars: ✭ 96 (-16.52%)
Mutual labels:  mooc
Languagepod101 Scraper
Python scraper for Language Pods such as Japanesepod101.com 👹 🗾 🍣 Compatible with Japanese, Chinese, French, German, Italian, Korean, Portuguese, Russian, Spanish and many more! ✨
Stars: ✭ 104 (-9.57%)
Mutual labels:  download
Ml Da Coursera Yandex Mipt
Machine Learning and Data Analysis Coursera Specialization from Yandex and MIPT
Stars: ✭ 108 (-6.09%)
Mutual labels:  coursera
Coursera Cryptocurrency
Assignments from the Coursera course "Bitcoin and Cryptocurrency Technologies"
Stars: ✭ 115 (+0%)
Mutual labels:  coursera

Todo

  • [x] Lectures (videos, subtitles, slides)
  • [x] Readings
  • [ ] Quizs
  • [ ] Jupyter notebooks

Install

Python ⩾3.5 is required. It is RECOMMENDED to install dl_coursera in a virtual environment.

# make sure you have Python ⩾3.5
$ python -c "from __future__ import print_function; import sys; print(':-)' if sys.version_info >= (3, 5) else ':-(')"
:-)

# install the latest version of dl_coursera
$ pip install -U dl_coursera
$ dl_coursera --version

How-to

  1. Get the cookies.txt file

    Sign in to Coursera, then use a browser extension to export cookies as cookies.txt. The cookies.txt will expire in about two weeks, so you don't need to do this so frequently.

    For Chrome, you can use the cookies.txt extension.

    For Firefox, you can use the Export Cookies extension.

  2. Enroll

    Navigate to homepage of the course/specialization you'd like to download, you can see its slug at the address bar. Enroll in it.

  3. Download

    $ dl_coursera --help
    usage: dl_coursera [-h] [--version] [--cookies COOKIES] --slug SLUG [--isSpec]
                       [--n-worker {1,2,3,4,5}] [--outdir OUTDIR] --how
                       {builtin,curl,aria2,aria2-rpc,uget,dummy}
                       [--generate-input-file] [--aria2-rpc-url ARIA2_RPC_URL]
                       [--aria2-rpc-secret ARIA2_RPC_SECRET]
    
    A simple, fast, and reliable Coursera crawling & downloading tool
    
    optional arguments:
     -h, --help            show this help message and exit
      --version             show program's version number and exit
      --cookies COOKIES     path of the `cookies.txt`
      --slug SLUG           slug of a course or a specializtion (with @--isSpec)
      --isSpec              indicate that @--slug is slug of a specialization
      --n-worker {1,2,3,4,5}
                            the number of threads used to crawl webpages. Default:
                            3
      --outdir OUTDIR       the directory to save files to. Default: `.'
      --how {builtin,curl,aria2,aria2-rpc,uget,dummy}
                            how to download files. builtin (NOT recommonded): use
                            the builtin downloader. curl: invoke `curl` or
                            generate an "input file" for it (with @--generate-
                            input-file). aria2: invoke `aria2c` or generate an
                            "input file" for it (with @--generate-input-file).
                            aria2-rpc (HIGHLY recommonded): add downloading tasks
                            to aria2 through its XML-RPC interface. uget
                            (recommonded): add downloading tasks to the uGet
                            Download Manager
      --generate-input-file
                            when @--how is curl/aria2, indicate that to generate
                            an "input file" for that tool, rather than to invoke
                            it
      --aria2-rpc-url ARIA2_RPC_URL
                            url of the aria2 XML-RPC interface. Default:
                            `http://localhost:6800/rpc'
      --aria2-rpc-secret ARIA2_RPC_SECRET
                            authorization token of the aria2 XML-RPC interface
    
    If the command succeeds, you shall see `Done :-)`. If some UNEXPECTED errors
    occur, try decreasing the value of @--n-worker and/or removing the directory
    @--outdir. For more information, visit `https://github.com/feng-lei/dl_coursera`.
    
    # download the course, of which slug is "mathematical-thinking"
    # saving files to the directory "mt"
    # using the "built-in" downloader
    $ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how builtin
    
    # download the specialization, of which slug is "algorithms"
    # saving files to the directory "alg"
    # using the "built-in" downloader
    $ dl_coursera --cookies path/to/cookies.txt --slug algorithms --isSpec --outdir alg --how builtin --n-worker 1
    

Examples

using the "built-in" downloader

$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how builtin

using the "curl" downloader

# make sure curl (https://curl.haxx.se/download.html) is installed and in PATH
$ curl --version

The "curl" downloader can be used in two different ways: invoking curl, or generating an input file for curl.

invoke curl

$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how curl

generate an input file for curl

$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how curl --generate-input-file
$ curl --config mt/mathematical-thinking.download.curl_input_file.txt

using the "aria2" downloader

# make sure aria2 (https://aria2.github.io) is installed and in PATH
$ aria2c --version

The "aria2" downloader can be used in two different ways: invoking aria2c, or generating an input file for aria2c.

invoke aria2c

$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how aria2

generate an input file for aria2c

$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how aria2 --generate-input-file
$ aria2c --input-file mt/mathematical-thinking.download.aria2_input_file.txt

Using the "aria2-rpc" downloader

# make sure aria2 (https://aria2.github.io) is installed and in PATH
$ aria2c --version
# start aria2 with its XML-RPC interface enabled
$ aria2c --enable-rpc
$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how aria2-rpc

Using an aria2 GUI like webui-aria2 is highly recommended.

Using the "uget" downloader

# make sure uGet (https://sourceforge.net/projects/urlget/files/) is installed and in PATH

## on Windows
$ uget --version | more

## on Linux
$ uget-gtk --version
# start uGet

## on Windows
$ uget

## on Linux
$ uget-gtk &
$ dl_coursera --cookies path/to/cookies.txt --slug mathematical-thinking --outdir mt --how uget

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].