Skip to content

A somewhat janky but working script to scrape Discord using puppeteer

License

Notifications You must be signed in to change notification settings

chatnoirsecurity/discoball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discoball

A somewhat jank if working node script to scrape discord and take screenshots.

Node versions

Tried on 16.X and v17.4.0

How to use

  1. npm install
  2. node src/1_launch.js
  3. This will start up a new instance of Chromium
  4. Log into Discord and navigate to whatever channel you want to scrape
  5. Scroll the chat to where you want to start
  6. In a separate terminal, run node src/2_run.js
  7. The script will page down through the chat and take screenshots.

How to use on Windows

  1. Download & install Visual Studio: https://code.visualstudio.com/download

  2. Install Powershell

Instructions here: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7.1

Install it, accepting defaults

  1. Install git: https://desktop.github.com/

  2. Install node: https://nodejs.org/en/download/

  3. Download this repo from github using Github Desktop

DO NOT use the "open in vscode" option there is a stupid bug where it breaks everything the bug is four years old apparently computers were a mistake

  1. Do a sanity check:

close and restart vscode type ctrl-` to open the terminal type "node -v" to check if it has found node

  1. Tell node to install everything it needs to run

npm install

(it'll look for the package.json config file and install what it needs from there)

  1. Run the scripts as above.

About

A somewhat janky but working script to scrape Discord using puppeteer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published