mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-15 17:40:03 +02:00
update README
This commit is contained in:
@@ -37,6 +37,14 @@ async function main() {
|
||||
}
|
||||
```
|
||||
|
||||
#### Command-line interface
|
||||
|
||||
```bash
|
||||
npx crextractor --target mobile --output ./credentials.mobile.json
|
||||
```
|
||||
|
||||
> Results will be printed to the console and saved to `credentials.mobile.json` file. By default, the target is TV, but you can change it with `--target mobile` option.
|
||||
|
||||
#### Library
|
||||
|
||||
```js
|
||||
@@ -51,14 +59,6 @@ const { id, secret, encoded, authorization } = await extract();
|
||||
// Do something with the extracted credentials
|
||||
```
|
||||
|
||||
#### Command-line interface
|
||||
|
||||
```bash
|
||||
npx crextractor --target mobile --output ./credentials.mobile.json
|
||||
```
|
||||
|
||||
> Results will be printed to the console and saved to `credentials.mobile.json` file. By default, the target is TV, but you can change it with `--target mobile` option.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user