mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Changes in Readme regarding subtitles and flag usage (#255)
* Update README.md updated Flags and subtitles sections * Update README.md * Update README.md Comma in a better place
This commit is contained in:
parent
568bce0008
commit
f56d9ecabf
1 changed files with 11 additions and 9 deletions
20
README.md
20
README.md
|
|
@ -92,6 +92,8 @@ $ cargo install --force --path .
|
||||||
|
|
||||||
> All shown commands are examples 🧑🏼🍳
|
> All shown commands are examples 🧑🏼🍳
|
||||||
|
|
||||||
|
### Global Flags
|
||||||
|
|
||||||
crunchy-cli requires you to log in.
|
crunchy-cli requires you to log in.
|
||||||
Though you can use a non-premium account, you will not have access to premium content without a subscription.
|
Though you can use a non-premium account, you will not have access to premium content without a subscription.
|
||||||
You can authenticate with your credentials (user:password) or by using a refresh token.
|
You can authenticate with your credentials (user:password) or by using a refresh token.
|
||||||
|
|
@ -99,7 +101,7 @@ You can authenticate with your credentials (user:password) or by using a refresh
|
||||||
- Credentials
|
- Credentials
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli --credentials "user:password"
|
$ crunchy-cli --credentials "user:password" <command>
|
||||||
```
|
```
|
||||||
- Refresh Token
|
- Refresh Token
|
||||||
|
|
||||||
|
|
@ -107,13 +109,13 @@ You can authenticate with your credentials (user:password) or by using a refresh
|
||||||
The easiest way to get it is via a browser extension which lets you export your cookies, like [Cookie-Editor](https://cookie-editor.cgagnier.ca/) ([Firefox](https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/) / [Chrome](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm)).
|
The easiest way to get it is via a browser extension which lets you export your cookies, like [Cookie-Editor](https://cookie-editor.cgagnier.ca/) ([Firefox](https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/) / [Chrome](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm)).
|
||||||
When installed, look for the `etp_rt` entry and extract its value.
|
When installed, look for the `etp_rt` entry and extract its value.
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli --etp-rt "4ebf1690-53a4-491a-a2ac-488309120f5d"
|
$ crunchy-cli --etp-rt "4ebf1690-53a4-491a-a2ac-488309120f5d" <command>
|
||||||
```
|
```
|
||||||
- Stay Anonymous
|
- Stay Anonymous
|
||||||
|
|
||||||
Login without an account (you won't be able to access premium content):
|
Login without an account (you won't be able to access premium content):
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli --anonymous
|
$ crunchy-cli --anonymous <command>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Global settings
|
### Global settings
|
||||||
|
|
@ -124,7 +126,7 @@ You can set specific settings which will be
|
||||||
|
|
||||||
If you want to include debug information in the output, use the `-v` / `--verbose` flag to show it.
|
If you want to include debug information in the output, use the `-v` / `--verbose` flag to show it.
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli -v
|
$ crunchy-cli -v <command>
|
||||||
```
|
```
|
||||||
This flag can't be used with `-q` / `--quiet`.
|
This flag can't be used with `-q` / `--quiet`.
|
||||||
|
|
||||||
|
|
@ -133,7 +135,7 @@ You can set specific settings which will be
|
||||||
If you want to hide all output, use the `-q` / `--quiet` flag to do so.
|
If you want to hide all output, use the `-q` / `--quiet` flag to do so.
|
||||||
This is especially useful if you want to pipe the output video to an external program (like a video player).
|
This is especially useful if you want to pipe the output video to an external program (like a video player).
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli -q
|
$ crunchy-cli -q <command>
|
||||||
```
|
```
|
||||||
|
|
||||||
- Language
|
- Language
|
||||||
|
|
@ -141,7 +143,7 @@ You can set specific settings which will be
|
||||||
By default, the resulting metadata like title or description are shown in your system language (if Crunchyroll supports it, else in English).
|
By default, the resulting metadata like title or description are shown in your system language (if Crunchyroll supports it, else in English).
|
||||||
If you want to show the results in another language, use the `--lang` flag to set it.
|
If you want to show the results in another language, use the `--lang` flag to set it.
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli --lang de-DE
|
$ crunchy-cli --lang de-DE <command>
|
||||||
```
|
```
|
||||||
|
|
||||||
- Experimental fixes
|
- Experimental fixes
|
||||||
|
|
@ -150,7 +152,7 @@ You can set specific settings which will be
|
||||||
The `--experimental-fixes` flag tries to fix some of those issues.
|
The `--experimental-fixes` flag tries to fix some of those issues.
|
||||||
As the *experimental* in `--experimental-fixes` states, these fixes may or may not break other functionality.
|
As the *experimental* in `--experimental-fixes` states, these fixes may or may not break other functionality.
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli --experimental-fixes
|
$ crunchy-cli --experimental-fixes <command>
|
||||||
```
|
```
|
||||||
For an overview which parts this flag affects, see the [documentation](https://docs.rs/crunchyroll-rs/latest/crunchyroll_rs/crunchyroll/struct.CrunchyrollBuilder.html) of the underlying Crunchyroll library, all functions beginning with `stabilization_` are applied.
|
For an overview which parts this flag affects, see the [documentation](https://docs.rs/crunchyroll-rs/latest/crunchyroll_rs/crunchyroll/struct.CrunchyrollBuilder.html) of the underlying Crunchyroll library, all functions beginning with `stabilization_` are applied.
|
||||||
|
|
||||||
|
|
@ -159,7 +161,7 @@ You can set specific settings which will be
|
||||||
The `--proxy` flag supports https and socks5 proxies to route all your traffic through.
|
The `--proxy` flag supports https and socks5 proxies to route all your traffic through.
|
||||||
This may be helpful to bypass the geo-restrictions Crunchyroll has on certain series.
|
This may be helpful to bypass the geo-restrictions Crunchyroll has on certain series.
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli --proxy socks5://127.0.0.1:8080
|
$ crunchy-cli --proxy socks5://127.0.0.1:8080 <command>
|
||||||
```
|
```
|
||||||
Make sure that proxy can either forward TLS requests, which is needed to bypass the (cloudflare) bot protection, or that it is configured so that the proxy can bypass the protection itself.
|
Make sure that proxy can either forward TLS requests, which is needed to bypass the (cloudflare) bot protection, or that it is configured so that the proxy can bypass the protection itself.
|
||||||
|
|
||||||
|
|
@ -204,7 +206,7 @@ The `download` command lets you download episodes with a specific audio language
|
||||||
- Subtitle language
|
- Subtitle language
|
||||||
|
|
||||||
Besides the audio, you can specify the subtitle language by using the `-s` / `--subtitle` flag.
|
Besides the audio, you can specify the subtitle language by using the `-s` / `--subtitle` flag.
|
||||||
The subtitles will be burned into the video track (cf. [hardsub](https://www.urbandictionary.com/define.php?term=hardsub)) and thus can not be turned off.
|
In formats that support it (.mp4, .mov and .mkv ), subtitles are stored as soft-subs. All other formats are hardsubbed: the subtitles will be burned into the video track (cf. [hardsub](https://www.urbandictionary.com/define.php?term=hardsub)) and thus can not be turned off.
|
||||||
```shell
|
```shell
|
||||||
$ crunchy-cli download -s de-DE https://www.crunchyroll.com/series/GY8VEQ95Y/darling-in-the-franxx
|
$ crunchy-cli download -s de-DE https://www.crunchyroll.com/series/GY8VEQ95Y/darling-in-the-franxx
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue