Save for offline viewing replaced with --media

Yudi
2020-07-18 19:08:02 -03:00
parent 5a48ec56b4
commit 4887f1ddfe

@@ -1,7 +1,7 @@
Welcome to the Frequently Asked Questions (FAQ) and Troubleshooting page!<br/> Welcome to the Frequently Asked Questions (FAQ) and Troubleshooting page!<br>
Here you'll find the answers to most of the questions related to **DiscordChatExporter** (DCE for short) and its core features.<br/> Here you'll find the answers to most of the questions related to **DiscordChatExporter** (DCE for short) and its core features.<br>
If you still have unanswered questions _after_ reading this page or if you have encountered a problem that's not described here and it's not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), feel free to [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new). <br/> If you still have unanswered questions _after_ reading this page or if you have encountered a problem that's not described here and it's not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), feel free to [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new). <br>
Don't forget to include your platform (Windows, Mac, Linux, etc.) and a detailed description of your question/problem. Don't forget to include your platform (Windows, Mac, Linux, etc.) and a detailed description of your question/problem.
**Index** **Index**
@@ -20,8 +20,8 @@ Don't forget to include your platform (Windows, Mac, Linux, etc.) and a detailed
# General # General
### Token stealer? ### Token stealer?
No. That's why it's important for this kind of software to be open source, so the code can be audited by anyone.<br/> No. That's why it's important for this kind of software to be open source, so the code can be audited by anyone.<br>
Your token is only used to connect to Discord's API, it's not sent to anywhere else.<br/> Your token is only used to connect to Discord's API, it's not sent to anywhere else.<br>
If you're using the GUI, be aware that your token will be saved to a plain text file unless you disable it in the settings menu. If you're using the GUI, be aware that your token will be saved to a plain text file unless you disable it in the settings menu.
### Why should I be worried about the safety of my Token? ### Why should I be worried about the safety of my Token?
@@ -34,7 +34,7 @@ Follow the [instructions here](https://github.com/Tyrrrz/DiscordChatExporter/wik
Automating user accounts is technically against TOS, use at your own discretion. [Bot accounts](https://discordapp.com/developers/docs/topics/oauth2#bots) don't have this restriction. Automating user accounts is technically against TOS, use at your own discretion. [Bot accounts](https://discordapp.com/developers/docs/topics/oauth2#bots) don't have this restriction.
### Will the messages disappear from the exported file if I delete a message, delete my account or block a person? ### Will the messages disappear from the exported file if I delete a message, delete my account or block a person?
Text messages will not be removed from the exported file, but if media, such as images and user avatars, is changed or deleted, it will no longer be displayed. You can avoid this by [saving the HTML file for offline viewing](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Storing-HTML-locally). Text messages will not be removed from the exported file, but if media, such as images and user avatars, is changed or deleted, it will no longer be displayed. To avoid this, export using the "Download referenced media content" (`--media`) option.
### Can DCE export messages that have already been deleted? ### Can DCE export messages that have already been deleted?
No, DCE cannot access them since they have been permanently deleted from Discord's servers. No, DCE cannot access them since they have been permanently deleted from Discord's servers.
@@ -55,14 +55,14 @@ Check the following page:
* [Obtaining token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs) * [Obtaining token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
### My token is disappearing too quickly, I can't copy it! ### My token is disappearing too quickly, I can't copy it!
**1.** Open the developer tools by pressing **Ctrl+Shift+I** (⌘⌥I on a Mac) on Discord<br/> **1.** Open the developer tools by pressing **Ctrl+Shift+I** (⌘⌥I on a Mac) on Discord<br>
**2.** Go to the **Network** tab<br/> **2.** Go to the **Network** tab<br>
**3.** Search for `messages?limit=50` and click it<br/> **3.** Search for `messages?limit=50` and click it<br>
**4.** On the right, make sure the Headers tab is selected<br/> **4.** On the right, make sure the Headers tab is selected<br>
**5.** Scroll down to the Request Headers section and look for the `authorization` code<br/> **5.** Scroll down to the Request Headers section and look for the `authorization` code<br>
Too complicated? [This image might help you](https://user-images.githubusercontent.com/21324788/44003408-13eb2088-9e07-11e8-9c3c-016d9876bbea.png).<br/><br/> Too complicated? [This image might help you](https://user-images.githubusercontent.com/21324788/44003408-13eb2088-9e07-11e8-9c3c-016d9876bbea.png).<br><br>
If you can't find the `messages?limit=50`, try switching channels or reload Discord with Ctrl+R (⌘R on a Mac).<br/> If you can't find the `messages?limit=50`, try switching channels or reload Discord with Ctrl+R (⌘R on a Mac).<br>
Special thanks to [**@llamasking**](https://github.com/Tyrrrz/DiscordChatExporter/issues/76#issuecomment-412349261). Special thanks to [@llamasking](https://github.com/Tyrrrz/DiscordChatExporter/issues/76#issuecomment-412349261) for providing the screenshot.
### When I open DCE a black window pops up really quickly or nothing shows up. ### When I open DCE a black window pops up really quickly or nothing shows up.
If you have [.NET Core Runtime correctly installed](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)), you might have downloaded DCE.CLI, try [downloading the GUI](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#gui-or-cli-) instead. If you have [.NET Core Runtime correctly installed](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)), you might have downloaded DCE.CLI, try [downloading the GUI](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#gui-or-cli-) instead.
@@ -124,13 +124,13 @@ DiscordChatExporter.Cli.exe export -t BOTTOKEN -b -c CHANNEL
Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot. Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot.
### dotnet command not found ### dotnet command not found
For **macOS only**:<br/> For **macOS only**:<br>
Try restarting your computer before following the instructions below.<br/> Try restarting your computer before following the instructions below.<br>
Adding `/usr/local/share/dotnet` to your `PATH` might solve it.<br/> Adding `/usr/local/share/dotnet` to your `PATH` might solve it.<br>
**1.** Run the command `sudo nano /etc/paths`. You will be prompted for your password and you won't be able to see it as you type<br/> **1.** Run the command `sudo nano /etc/paths`. You will be prompted for your password and you won't be able to see it as you type<br>
**2.** In a new paragraph, paste `/usr/local/share/dotnet`. Use the keyboard arrows to move the cursor<br/> **2.** In a new paragraph, paste `/usr/local/share/dotnet`. Use the keyboard arrows to move the cursor<br>
**3.** Hit Control+O, then Control+X<br/> **3.** Hit Control+O, then Control+X<br>
**4.** Open a new terminal window and try running the `dotnet` command again<br/> **4.** Open a new terminal window and try running the `dotnet` command again<br>
### Errors ### Errors
@@ -145,50 +145,50 @@ DiscordChatExporter.Core.Exceptions.HttpErrorStatusCodeException: Error HTTP sta
``` ```
↳ Make sure the token is correct. If it is a bot token, don't forget to use `-b`. ↳ Make sure the token is correct. If it is a bot token, don't forget to use `-b`.
<br/> <br>
``` ```
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
... ...
``` ```
↳ Make sure the arguments and the options (-t, -b, -c...) are correct. ↳ Make sure the arguments and the options (-t, -b, -c...) are correct.
<br/> <br>
The command should be like the follwing: The command should be like the follwing:
`DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>` `DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
<br/> <br>
``` ```
The application to execute does not exist: The application to execute does not exist:
``` ```
↳ The `DiscordChatExporter.Cli.dll` file is missing. Keep the `.exe` and the `.dll` files together. If you didn't move the files, try unzipping again. ↳ The `DiscordChatExporter.Cli.dll` file is missing. Keep the `.exe` and the `.dll` files together. If you didn't move the files, try unzipping again.
<br/> <br>
``` ```
DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Not found. DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Not found.
``` ```
↳ Check your channel ID, it might be invalid. ↳ Check your channel ID, it might be invalid.
<br/> <br>
``` ```
DiscordChatExporter.Core.Services.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: NotFound - Not Found DiscordChatExporter.Core.Services.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: NotFound - Not Found
``` ```
↳ Check your channel ID, it might be invalid. ↳ Check your channel ID, it might be invalid.
<br/> <br>
``` ```
System.Net.WebException: Error: TrustFailure ... Invalid certificate received from server. System.Net.WebException: Error: TrustFailure ... Invalid certificate received from server.
... ...
``` ```
↳ Try running cert-sync. ↳ Try running cert-sync.
<br/> <br>
Debian/Ubuntu: `cert-sync /etc/ssl/certs/ca-certificates.crt` Debian/Ubuntu: `cert-sync /etc/ssl/certs/ca-certificates.crt`
<br/> <br>
Red Hat: `cert-sync --user /etc/pki/tls/certs/ca-bundle.crt` Red Hat: `cert-sync --user /etc/pki/tls/certs/ca-bundle.crt`
<br/><br/> <br><br>
If it still doesn't work, try mozroots: `mozroots --import --ask-remove` If it still doesn't work, try mozroots: `mozroots --import --ask-remove`
*** ***