-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/nishanthvijayan/nptel-dl
- Loading branch information
Showing
1 changed file
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,53 @@ | ||
# nptel-dl | ||
# nptel-dl | ||
|
||
A command line tool to download course videos from NPTEL | ||
|
||
## Features | ||
|
||
- Download course to user requested path (option: `-dir`). | ||
- Support downloading in MP4, FLV & 3GP file formats (option: `-format`) | ||
- Start download from a specific lecture number (option: `-start`) | ||
|
||
## Installation | ||
|
||
Requires golang to be installed. | ||
|
||
``` | ||
go install github.com/nishanthvijayan/nptel-dl | ||
``` | ||
|
||
## Usage | ||
### Help | ||
``` | ||
nptel-dl -h | ||
``` | ||
### Download course | ||
``` | ||
nptel-dl -courseID 106106198 | ||
``` | ||
|
||
### Download course to specific directory | ||
``` | ||
nptel-dl -courseID 106106198 -dir ~/Desktop/myawsomecourses/machine-learning | ||
``` | ||
|
||
|
||
### Start download from a specific lecture number | ||
``` | ||
nptel-dl -courseID 106106198 -start 21 | ||
``` | ||
|
||
### Download different formats | ||
``` | ||
nptel-dl -courseID 106106198 -format 3gp | ||
``` | ||
Currently supported format options are: mp4, 3gp & flv. | ||
Default format is MP4 | ||
|
||
|
||
## TODO: | ||
- Add mp3 download support (option: `-format mp3`) | ||
- Add PDF Transcript download support (option: `-transcript`) | ||
- Add info option that list all videos (option: `-info`) | ||
- Add option to download a specific module (option: `-module`) | ||
- Add option to download till a specific lecture number (option: `-end`) |