Rename media -> assets

Oleksii Holub
2022-10-29 18:00:58 +03:00
parent c097cd7bf1
commit 9463a04368

@@ -64,9 +64,9 @@ Click the menu button (☰) to see more options:
> Please note that the time defaults to **12:00 AM** (midnight/00:00). This means that if you choose to export between Sep 17th and Sep 18th, messages from Sep 18th won't be exported.
* **Filter** (Optional) - Special notation for filtering the messages that get included in the export. See [Message filters](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Message-filters) for more info.
* **Messages per partition** (Optional) - Split output into partitions, each limited to this number of messages (e.g. 100) or file size (e.g. 10mb). For example, a channel with 36 messages set to be partitioned every 10 messages will output 4 files.
* **Download media** (Optional) - If this option is set, the export will include additional files such as user avatars, attached files, images, etc.
* **Download assets** (Optional) - If this option is set, the export will include additional files such as user avatars, attached files, images, etc.
Only files that are referenced by the export are downloaded, which means that, for example, user avatars will not be downloaded when using the plain text (TXT) export format.
A folder containing the media will be created along with the exported chat. They must be kept together.
A folder containing the assets will be created along with the exported chat. They must be kept together.
**5.** Click `EXPORT` to export.
@@ -87,8 +87,8 @@ Default: Disabled
Persist last used token between sessions.
Default: Enabled
**Reuse downloaded media**
Reuse already existing media content to skip redundant downloads.
**Reuse downloaded assets**
Reuse already downloaded assets to skip redundant requests.
Default: Disabled
**Date format**
@@ -170,8 +170,8 @@ dotnet DiscordChatExporter.Cli.dll command -h
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges) | Only include messages sent before this date
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning) | Split output into partitions, each limited to this number of messages (e.g. 100) or file size (e.g. 10mb)
||[--filter](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Message-filters) | Special notation for filtering the messages that get included in the export
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content. Default: false
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-assets) | Download assets referenced by the export (user avatars, attached files, embedded images, etc.). Default: false
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-assets) | Reuse previously downloaded assets to avoid redundant requests. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Format used when writing dates.
||-h | Shows help text
@@ -248,17 +248,17 @@ A 45mb channel set to be partitioned every 20mb will output 3 files.
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -p 20mb
```
### Downloading media
### Downloading assets
If this option is set, the export will include additional files such as user avatars, attached files, images, etc.
Only files that are referenced by the export are downloaded, which means that, for example, user avatars will not be downloaded when using the plain text (TXT) export format.
A folder containing the media will be created along with the exported chat. They must be kept together.
A folder containing the assets will be created along with the exported chat. They must be kept together.
```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 --media
```
### Reuse media
Previously downloaded media can be reused to skip redundant downloads as long as the chat is always exported to the same folder. Using this option can speed up future media exports. This option requires the `--media` option.
### Reuse assets
Previously downloaded assets can be reused to skip redundant downloads as long as the chat is always exported to the same folder. Using this option can speed up future exports. This option requires the `--media` option.
```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 --media --reuse-media
@@ -317,8 +317,8 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges) | Only include messages sent before this date
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning) | Split output into partitions, each limited to this number of messages (e.g. 100) or file size (e.g. 10mb)
||[--filter](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Message-filters) | Special notation for filtering the messages that get included in the export
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-assets) | Download assets referenced by the export (user avatars, attached files, embedded images, etc.). Default: false
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-assets) | Reuse previously downloaded assets to avoid redundant requests. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Date format used in output
||-h | Shows help text
@@ -339,8 +339,8 @@ This command exports all your Direct Messages.
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges) | Only include messages sent before this date
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning) | Split output into partitions, each limited to this number of messages (e.g. 100) or file size (e.g. 10mb)
||[--filter](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Message-filters) | Special notation for filtering the messages that get included in the export
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-assets) | Download assets referenced by the export (user avatars, attached files, embedded images, etc.). Default: false
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-assets) | Reuse previously downloaded assets to avoid redundant requests. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Date format used in output
||-h | Shows help text
@@ -361,8 +361,8 @@ This command exports all channels of a Server.
||[--before](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-ranges) | Only include messages sent before this date
||[-p](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#partitioning) | Split output into partitions, each limited to this number of messages (e.g. 100) or file size (e.g. 10mb)
||[--filter](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Message-filters) | Special notation for filtering the messages that get included in the export
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-assets) | Download assets referenced by the export (user avatars, attached files, embedded images, etc.). Default: false
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-assets) | Reuse previously downloaded assets to avoid redundant requests. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Date format used in output
||-h | Shows help text
@@ -433,7 +433,7 @@ The HTML format replicates Discord's interface, making it the most user-friendly
It's the best format for attachment preview and sharing.
You can open `.html` files with a web browser, such as Google Chrome.
> Please note that if a picture is deleted, or if a user changes its avatar, the respective images will no longer be displayed.
Export using the "Download referenced media content" (`--media`) option to avoid this.
Export using the "Download referenced assets" (`--media`) option to avoid this.
## Plain Text