Update README.md

- Removed threading related stuff
This commit is contained in:
Puyodead1 2021-05-21 19:52:29 -04:00
parent 9a1a318f93
commit cb98f57bd0

View File

@ -68,8 +68,7 @@ You can now run `python main.py` to start downloading. The course will download
# Advanced Usage
```
usage: main.py [-h] -c COURSE_URL [-b BEARER_TOKEN] [-q QUALITY] [-t THREADS] [-l LANG] [--skip-lectures] [--download-assets]
[--download-captions] [--use-threaded-downloader] [-d]
usage: main.py [-h] -c COURSE_URL [-b BEARER_TOKEN] [-q QUALITY] [-l LANG] [--skip-lectures] [--download-assets] [--download-captions] [-d]
Udemy Downloader
@ -81,13 +80,10 @@ optional arguments:
The Bearer token to use
-q QUALITY, --quality QUALITY
Download specific video quality. (144, 360, 480, 720, 1080)
-t THREADS, --threads THREADS
Max number of threads to use when using the threaded downloader (default 10)
-l LANG, --lang LANG The language to download for captions (Default is en)
--skip-lectures If specified, lectures won't be downloaded.
--download-assets If specified, lecture assets will be downloaded.
--download-captions If specified, captions will be downloaded.
--use-threaded-downloader If specified, the experimental threaded downloader will be used
```
- Passing a Bearer Token and Course ID as an argument
@ -111,10 +107,6 @@ optional arguments:
- Skip downloading lecture videos
- `python main.py -c <Course URL> --skip-lectures --download-captions` - Downloads only captions
- `python main.py -c <Course URL> --skip-lectures --download-assets` - Downloads only assets
- Use threaded downloader
- `python main.py -c <Course URL> --use-threaded-downloader`
- Use threaded downloader with custom max threads
- `python main.py -c <Course URL> --use-threaded-downloader --threads 15`
# Credits