Update instructions to obtain token

Fixes #76
pull/91/merge
Alexey Golub 6 years ago
parent d95bc37592
commit 8e38adae7e

@ -14,12 +14,10 @@ namespace DiscordChatExporter.Cli
Console.WriteLine(" 1. Open Discord app"); Console.WriteLine(" 1. Open Discord app");
Console.WriteLine(" 2. Log in if you haven't"); Console.WriteLine(" 2. Log in if you haven't");
Console.WriteLine(" 3. Press Ctrl+Shift+I to show developer tools"); Console.WriteLine(" 3. Press Ctrl+Shift+I to show developer tools");
Console.WriteLine(" 4. Navigate to the Network tab"); Console.WriteLine(" 4. Press Ctrl+R to trigger reload");
Console.WriteLine(" 5. Filter the requests to XHR only"); Console.WriteLine(" 5. Navigate to the Application tab");
Console.WriteLine(" 6. Go to any channel or server"); Console.WriteLine(" 6. Select \"Local Storage\" > \"https://discordapp.com\" on the left");
Console.WriteLine(" 7. Find a request that starts with \"messages\""); Console.WriteLine(" 7. Find \"token\" under key and copy the value");
Console.WriteLine(" 8. Click on Headers tab");
Console.WriteLine(" 9. Look for \"authorization\" among request headers and copy its value");
Console.WriteLine(); Console.WriteLine();
Console.WriteLine("# To get bot token:"); Console.WriteLine("# To get bot token:");
Console.WriteLine(" 1. Go to Discord developer portal"); Console.WriteLine(" 1. Go to Discord developer portal");

@ -233,26 +233,23 @@
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Ctrl+Shift+I" /> <Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Ctrl+Shift+I" />
<Run Text="to show developer tools" /> <Run Text="to show developer tools" />
<LineBreak /> <LineBreak />
<Run Text="4. Navigate to the" /> <Run Text="4. Press" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Network" /> <Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Ctrl+R" />
<Run Text="tab" /> <Run Text="to trigger reload" />
<LineBreak />
<Run Text="5. Filter the requests to" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="XHR" />
<Run Text="only" />
<LineBreak /> <LineBreak />
<Run Text="6. Go to any channel or server" /> <Run Text="5. Navigate to the" />
<LineBreak /> <Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Application" />
<Run Text="7. Find a request that starts with" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="&quot;messages&quot;" />
<LineBreak />
<Run Text="8. Click on" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Headers" />
<Run Text="tab" /> <Run Text="tab" />
<LineBreak /> <LineBreak />
<Run Text="9. Look for" /> <Run Text="6. Select" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="&quot;authorization&quot;" /> <Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Local Storage" />
<Run Text="among request headers and copy its value" /> <Run Text="&gt;" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="https://discordapp.com" />
<Run Text="on the left" />
<LineBreak />
<Run Text="7. Find" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="token" />
<Run Text="under key and copy the value" />
</TextBlock> </TextBlock>
</StackPanel> </StackPanel>

Loading…
Cancel
Save