Git Product home page Git Product logo

discordimgcrawler's Introduction


discordImgCrawler

Introduction

This is a crawler program written in nodejs. It allows you to download all the images from a discord server channel.
Unlike other programs, this program use puppeter to get the url of the image and download it when the client sending a discord request of attachments.
Even though it was much safer than selfbot but I still won't be responsible for any problems with using the software (like getting banned due to the discord TOS).
But is scrolling the pages against the discord TOS? I don't think so.

How to use

Paste the serverID and the channelID that you want to scrap for in config.json then start the program. Login with your account manually, sit down and drink a cup of coffee โ˜•.
The images will be saved to the "spider" folder.

discordimgcrawler's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

navigator129

discordimgcrawler's Issues

Full-size images not downloading (only smaller thumbnails downloading)

I recall using this previously last year, and it worked as expected. However, I've tried using it again just now, having to reinstall it, and it's not downloading full-sized images... just thumbnails.

The downloaded files have long filenames like "001.jpg?ex=[BIGLONGNUMBER]&is=[BIGLONGNUMBER]&hm=[REALLYREALLYBIGLONGNUMBER]&=&width=433&height=350"

Deleting the extra text after ".jpg" in the filename results in an image, but -- as would seem obvious -- the image downloaded is limited by the "width=433&height=350" dimensions (or whatever the "width" and "height" are set at), rather than the larger image available by clicking through.

Do you know what's going wrong, or how to fix it?

Thanks!

error

hi , i have this error after a discord chrome page open:
node main.js
'taskkill' is not recognized as an internal command
or external, an executable program or a batch file.
node:events:491
throw er; // Unhandled 'error' event
^

Error: ENOENT: no such file or directory, open 'C:\gamesfiles\imagedll\discordImgCrawler-main\spider\P2.jpg'
Emitted 'error' event on WriteStream instance at:
at WriteStream.onerror (node:internal/streams/legacy:62:12)
at WriteStream.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\gamesfiles\imagedll\discordImgCrawler-main\spider\P2.jpg'
}

Node.js v19.3.0

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.