Skip to content

Getting bearer token from web browser

HDoujinDownloader edited this page Apr 22, 2024 · 1 revision

Some websites use OAuth to handle logins (e.g. signing in through Google, Facebook, etc.). Your session is then identified by a "bearer token" that is sent by your web browser with all requests to the website you've logged in to.

Where these logins aren't handled automatically by HDoujin Downloader, you can copy your bearer token manually from your web browser.

Getting your bearer token

  1. Sign in to the website normally in your web browser.
  2. In your web browser, press F12 to open DevTools.
  3. Go to the "Network" tab.
Show screenshot
  1. Refresh the webpage.
  2. Go through the requests until you find one with an authorization header. Right-click the header, and select Copy value.
Show screenshot
  1. In HDoujin Downloader, go to Tools > Site preferences, and paste the value you copied into the appropriate field.
Show screenshot

HDoujin Downloader will now send your bearer token with future requests.