Readme: Added Options to Readme

This commit is contained in:
Moss 2022-09-28 23:15:20 -04:00
parent 7315c428c0
commit facb363608
2 changed files with 16 additions and 8 deletions

View File

@ -51,10 +51,18 @@ go to settings > privacy and security > cookies > see all cookies > vhx.tv > __c
copy the `content` and paste it into the `cookie` file \ copy the `content` and paste it into the `cookie` file \
this needs to be redone every time the cookies expire (~30 minutes) this needs to be redone every time the cookies expire (~30 minutes)
## how to use ## How to Use
run the command
``` ```
./dropout-dl <episode-url> ./dropout-dl <url> [OPTIONS]
```
### Options
```
--help Display this message
--quality Set the quality of the downloaded video. Quality can be set to 'all' which
will download all qualities and place them into separate folders
--verbose Display debug information while running
--force-cookies Interpret the next to arguments as authentication cookie and session cookie
``` ```
dropout-dl will download the episode into a folder with the name of the series in the format dropout-dl will download the episode into a folder with the name of the series in the format
`S<season-num>E<episode-num><name>.mp4` `S<season-num>E<episode-num><name>.mp4`

View File

@ -366,11 +366,11 @@ public:
std::cout << "Usage: dropout-dl [OPTIONS] <url> [OPTIONS]\n" std::cout << "Usage: dropout-dl [OPTIONS] <url> [OPTIONS]\n"
"\n" "\n"
"Options:\n" "Options:\n"
"\t--help\t\t\t\tDisplay this message\n" "\t--help Display this message\n"
"\t--quality\t\t\tSet the quality of the downloaded video. Quality can be set to 'all' which\n" "\t--quality Set the quality of the downloaded video. Quality can be set to 'all' which\n"
"\t\t\t\t\t\twill download all qualities and place them into separate folders\n" "\t will download all qualities and place them into separate folders\n"
"\t--verbose\t\t\tDisplay debug information while running\n" "\t--verbose Display debug information while running\n"
"\t--force-cookies\t\tInterpret the next to arguments as authentication cookie and session cookie\n" "\t--force-cookies Interpret the next to arguments as authentication cookie and session cookie\n"
<< std::endl; << std::endl;
exit(0); exit(0);