This CLI tool provides various functionalities to interact with the BITS portal, including logging in, managing courses, and handling course content. Below are the available commands and their usage:
Install the latest version of Node for your system. You can find verbose instructions below :
https://nodejs.org/en/download/package-manager
npm i @risabhkedai/bits-wilp-downloader -g
wilp-dwnld --help
The output should show commands available.
- Description: Logs into the BITS portal with the provided username and password.
- Parameters:
username
: Your email or user name.password
: Your account password.
-
Description: Manage courses with various subcommands.
-
list
- Description: Retrieves and displays a list of available courses.
-
download
- Description: Downloads courses based on the specified options.
- Options:
--all, -a
: Download all courses. If this option is not provided, a single course will be downloaded interactively.
-
merge-content
- Description: Merges all PPT and PDF files for a specified course into a single folder.
-
- Description: Cleans up all data created during operations, including course data and content.
Course Content is getting saved in the homedirectory of your system. To check for the address to your homedirectory use :
-
Using Command Prompt:
echo %HOMEDRIVE%%HOMEPATH%
-
Using PowerShell:
echo $HOME
-
Using Terminal:
echo $HOME
This might be due to login cookies issue. Try cleaning the cached data with :
```
wilp-dwnlds clean
```
Then try login again.