Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[discord] add support #6836

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
33 changes: 33 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2235,6 +2235,39 @@ Description
| Leave ``SIZE`` empty to download the regular, small avatar format.


extractor.discord.embeds
------------------------
Type
``list`` of ``strings``
Default
``["image", "gifv", "video"]``
Description
Selects which embed types to download from.

Supported embed types are
``image``, ``gifv``, ``video``, ``rich``, ``article``, ``link``.


extractor.discord.threads
-------------------------
Type
``bool``
Default
``true``
Description
Extract threads from Discord text channels.


extractor.discord.token
-----------------------
Type
``string``
Description
Discord Bot Token for API requests.

You can follow `this guide <https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Token-and-IDs.md#how-to-get-a-user-token>`__ to get a token.


extractor.[E621].metadata
-------------------------
Type
Expand Down
6 changes: 6 additions & 0 deletions docs/supportedsites.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ Consider all listed sites to potentially be NSFW.
<td>Avatars, Backgrounds, Collections, Deviations, Favorites, Folders, Followed Users, Galleries, Gallery Searches, Journals, Scraps, Search Results, Sta.sh, Status Updates, Tag Searches, User Profiles, Watches</td>
<td><a href="https://github.com/mikf/gallery-dl#oauth">OAuth</a></td>
</tr>
<tr>
<td>Discord</td>
<td>https://discord.com/</td>
<td>Channels, DMs, Servers</td>
<td></td>
</tr>
<tr>
<td>Dynasty Reader</td>
<td>https://dynasty-scans.com/</td>
Expand Down
1 change: 1 addition & 0 deletions gallery_dl/extractor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"danbooru",
"desktopography",
"deviantart",
"discord",
"dynastyscans",
"e621",
"erome",
Expand Down
Loading
Loading