Giter VIP home page Giter VIP logo

discord-image-downloader-go's Introduction

discord-image-downloader-go

Go Report Card Build Status

Download the latest release

Discord SelfBots are forbidden!

Official Statement

You have been warned.

This is a simple tool which downloads pictures (and instagram videos) posted in discord channels of your choice to a local folder. It handles various sources like twitter differently to make sure to download the best quality available.

Websites currently supported

  • Discord attachments
  • Twitter
  • Tistory
  • Gfycat
  • Instagram
  • Imgur
  • Google Drive Files and Folders
  • Flickr
  • Streamable
  • Any direct link to an image or video

How to use?

When you run the tool for the first time it creates a config.ini file with example values. Edit these values and run the tool for a second time. It should connect to discords api and wait for new messages.

In case you are using two-factor authentication you have to login using your token. Remove the email and password lines under the auth section in the config file and instead put in token = <your token>. You can acquire your token from the developer tools in your browser (localStorage.token) or discord client (Control+Shift+I (Windows) or Command+Option+I, click Application, click Local Storage, click https://discordapp.com, and find "token" and paste the value).

How to download old pictures?

By default, the tool only downloads new links posted while the tool is running. You can also set up the tool to download the complete history of a channel. To do this you have to run this tool with a separate discord account. Send your second account a dm on your primary account and get the channel id from the direct message channel. Now add this channel id to the config by adding the following lines:

[interactive channels]
<your channel id> = <some valid path>

After this is done restart the tool and send history as a DM to your second account. The bot will ask for the channel id of the channel you want to download and start the downloads. You can view all available commands by sending help.

Where do I get the channel id?

Open discord in your browser and go to the channel you want to monitor. In your address bar should be a URL like https://discordapp.com/channels/1234/5678. The number after the last slash is the channel id, in this case, 5678. Or, enable Developer mode and right click the channel you need, and click Copy ID.

discord-image-downloader-go's People

Contributors

seklfreak avatar jasonhahm avatar enanofurtivo avatar revi avatar kakkela avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.