Discord Scraper
Try for free
3 days trial then $19.00/month - No credit card required now
View all Actors
Discord Scraper
curious_coder/discord-data-scraper
Try for free
3 days trial then $19.00/month - No credit card required now
Scrape discord messages with attachments from any channel.
Important points to consider when using this actor
- You can save costs by configuring this actor to run on low memory, as low as 512MB. Increasing memory won't make it faster or better.
- If the actor stops before scraping all records due to unexpected error, you can simply ressurect the actor to resume scraping.
Features
- Scrape messages from any discord server channel
- Scrape members of any discord server
How to get Token
Using login credentials
- Pass your email and password to the actor to login
- After 1st run with email and password, it will save the token in key-value store under 'token' key
- You can use this token in future runs to avoid logging in everytime
Using Chrome Devtools
Open Developer tools (3 Dots Menu > More tools > Developer tools) Goto 'Console' Tab and paste following code and press ENTER. It will copy the token to your clipboard automatically. You should get message that says "Worked!" if the token was copied successfully.
1window.webpackChunkdiscord_app.push([ 2 [Math.random()], 3 {}, 4 req => { 5 for (const m of Object.keys(req.c) 6 .map(x => req.c[x].exports) 7 .filter(x => x)) { 8 if (m.default && m.default.getToken !== undefined) { 9 return copy(m.default.getToken()); 10 } 11 if (m.getToken !== undefined) { 12 return copy(m.getToken()); 13 } 14 } 15 }, 16]); 17console.log('%cWorked!', 'font-size: 50px'); 18console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px');
Here is the sample output of this actor:
Messages
1{ 2 "id": "1131713979111186482", 3 "type": 19, 4 "content": "**high definition photo of a modern powder bathroom in a high-end home in the desert. bright daytime light and a skylight. white oak and natural materials and woven textures with desert inspirted colors, modern desert-inspired spanish tile. Matte black hardware. Modern light sconces around the vanity mirror. Include some natural desert elements into the design. (fast)** - Image #2 <@1122599062454157382>", 5 "channel_id": "1008571020480876554", 6 "author": { 7 "id": "936929561302675456", 8 "username": "Midjourney Bot", 9 "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", 10 "discriminator": "9282", 11 "public_flags": 589824, 12 "flags": 589824, 13 "bot": true, 14 "banner": null, 15 "accent_color": null, 16 "global_name": null, 17 "avatar_decoration": null, 18 "display_name": null, 19 "banner_color": null 20 }, 21 "attachments": [ 22 { 23 "id": "1131713978821791776", 24 "filename": "camcooke_high_definition_photo_of_a_modern_powder_bathroom_in_a_f58fa448-1620-4aca-9621-005ef9f3b383.png", 25 "size": 1433631, 26 "url": "https://cdn.discordapp.com/attachments/1008571020480876554/1131713978821791776/camcooke_high_definition_photo_of_a_modern_powder_bathroom_in_a_f58fa448-1620-4aca-9621-005ef9f3b383.png", 27 "proxy_url": "https://media.discordapp.net/attachments/1008571020480876554/1131713978821791776/camcooke_high_definition_photo_of_a_modern_powder_bathroom_in_a_f58fa448-1620-4aca-9621-005ef9f3b383.png", 28 "width": 1024, 29 "height": 1024, 30 "content_type": "image/png" 31 } 32 ], 33 "embeds": [], 34 "mentions": [ 35 { 36 "id": "1122599062454157382", 37 "username": "camcooke", 38 "avatar": null, 39 "discriminator": "0", 40 "public_flags": 0, 41 "flags": 0, 42 "banner": null, 43 "accent_color": null, 44 "global_name": "camcam", 45 "avatar_decoration": null, 46 "display_name": "camcam", 47 "banner_color": null 48 } 49 ], 50 "mention_roles": [], 51 "pinned": false, 52 "mention_everyone": false, 53 "tts": false, 54 "timestamp": "2023-07-20T22:27:18.849000+00:00", 55 "edited_timestamp": null, 56 "flags": 0, 57 "components": [ 58 { 59 "type": 1, 60 "components": [ 61 { 62 "type": 2, 63 "custom_id": "MJ::JOB::high_variation::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 64 "style": 2, 65 "label": "Vary (Strong)", 66 "emoji": { 67 "name": "🪄" 68 } 69 }, 70 { 71 "type": 2, 72 "custom_id": "MJ::JOB::low_variation::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 73 "style": 2, 74 "label": "Vary (Subtle)", 75 "emoji": { 76 "name": "🪄" 77 } 78 } 79 ] 80 }, 81 { 82 "type": 1, 83 "components": [ 84 { 85 "type": 2, 86 "custom_id": "MJ::Outpaint::50::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 87 "style": 2, 88 "label": "Zoom Out 2x", 89 "emoji": { 90 "name": "🔍" 91 } 92 }, 93 { 94 "type": 2, 95 "custom_id": "MJ::Outpaint::75::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 96 "style": 2, 97 "label": "Zoom Out 1.5x", 98 "emoji": { 99 "name": "🔍" 100 } 101 }, 102 { 103 "type": 2, 104 "custom_id": "MJ::CustomZoom::f58fa448-1620-4aca-9621-005ef9f3b383", 105 "style": 2, 106 "label": "Custom Zoom", 107 "emoji": { 108 "name": "🔍" 109 } 110 } 111 ] 112 }, 113 { 114 "type": 1, 115 "components": [ 116 { 117 "type": 2, 118 "custom_id": "MJ::JOB::pan_left::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 119 "style": 2, 120 "emoji": { 121 "name": "⬅️" 122 } 123 }, 124 { 125 "type": 2, 126 "custom_id": "MJ::JOB::pan_right::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 127 "style": 2, 128 "emoji": { 129 "name": "➡️" 130 } 131 }, 132 { 133 "type": 2, 134 "custom_id": "MJ::JOB::pan_up::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 135 "style": 2, 136 "emoji": { 137 "name": "⬆️" 138 } 139 }, 140 { 141 "type": 2, 142 "custom_id": "MJ::JOB::pan_down::1::f58fa448-1620-4aca-9621-005ef9f3b383::SOLO", 143 "style": 2, 144 "emoji": { 145 "name": "⬇️" 146 } 147 } 148 ] 149 }, 150 { 151 "type": 1, 152 "components": [ 153 { 154 "type": 2, 155 "custom_id": "MJ::BOOKMARK::f58fa448-1620-4aca-9621-005ef9f3b383", 156 "style": 2, 157 "emoji": { 158 "name": "❤️" 159 } 160 }, 161 { 162 "type": 2, 163 "style": 5, 164 "label": "Web", 165 "url": "https://www.midjourney.com/app/jobs/f58fa448-1620-4aca-9621-005ef9f3b383/" 166 } 167 ] 168 } 169 ], 170 "message_reference": { 171 "channel_id": "1008571020480876554", 172 "message_id": "1131713804179362064", 173 "guild_id": "662267976984297473" 174 }, 175 "referenced_message": { 176 "id": "1131713804179362064", 177 "type": 19, 178 "content": "**high definition photo of a modern powder bathroom in a high-end home in the desert. bright daytime light and a skylight. white oak and natural materials and woven textures with desert inspirted colors, modern desert-inspired spanish tile. Matte black hardware. Modern light sconces around the vanity mirror. Include some natural desert elements into the design. (fast)** - Variations (Strong) by <@1122599062454157382> (fast)", 179 "channel_id": "1008571020480876554", 180 "author": { 181 "id": "936929561302675456", 182 "username": "Midjourney Bot", 183 "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", 184 "discriminator": "9282", 185 "public_flags": 589824, 186 "flags": 589824, 187 "bot": true, 188 "banner": null, 189 "accent_color": null, 190 "global_name": null, 191 "avatar_decoration": null, 192 "display_name": null, 193 "banner_color": null 194 }, 195 "attachments": [ 196 { 197 "id": "1131713803940274198", 198 "filename": "camcooke_high_definition_photo_of_a_modern_powder_bathroom_in_a_3eaa7c0c-9825-4110-9c89-02c4e463a8d0.png", 199 "size": 6647039, 200 "url": "https://cdn.discordapp.com/attachments/1008571020480876554/1131713803940274198/camcooke_high_definition_photo_of_a_modern_powder_bathroom_in_a_3eaa7c0c-9825-4110-9c89-02c4e463a8d0.png", 201 "proxy_url": "https://media.discordapp.net/attachments/1008571020480876554/1131713803940274198/camcooke_high_definition_photo_of_a_modern_powder_bathroom_in_a_3eaa7c0c-9825-4110-9c89-02c4e463a8d0.png", 202 "width": 2048, 203 "height": 2048, 204 "content_type": "image/png" 205 } 206 ], 207 "embeds": [], 208 "mentions": [ 209 { 210 "id": "1122599062454157382", 211 "username": "camcooke", 212 "avatar": null, 213 "discriminator": "0", 214 "public_flags": 0, 215 "flags": 0, 216 "banner": null, 217 "accent_color": null, 218 "global_name": "camcam", 219 "avatar_decoration": null, 220 "display_name": "camcam", 221 "banner_color": null 222 } 223 ], 224 "mention_roles": [], 225 "pinned": false, 226 "mention_everyone": false, 227 "tts": false, 228 "timestamp": "2023-07-20T22:26:37.142000+00:00", 229 "edited_timestamp": null, 230 "flags": 0, 231 "components": [ 232 { 233 "type": 1, 234 "components": [ 235 { 236 "type": 2, 237 "custom_id": "MJ::JOB::upsample::1::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 238 "style": 1, 239 "label": "U1" 240 }, 241 { 242 "type": 2, 243 "custom_id": "MJ::JOB::upsample::2::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 244 "style": 1, 245 "label": "U2" 246 }, 247 { 248 "type": 2, 249 "custom_id": "MJ::JOB::upsample::3::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 250 "style": 1, 251 "label": "U3" 252 }, 253 { 254 "type": 2, 255 "custom_id": "MJ::JOB::upsample::4::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 256 "style": 1, 257 "label": "U4" 258 }, 259 { 260 "type": 2, 261 "custom_id": "MJ::JOB::reroll::0::3eaa7c0c-9825-4110-9c89-02c4e463a8d0::SOLO", 262 "style": 2, 263 "emoji": { 264 "name": "🔄" 265 } 266 } 267 ] 268 }, 269 { 270 "type": 1, 271 "components": [ 272 { 273 "type": 2, 274 "custom_id": "MJ::JOB::variation::1::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 275 "style": 2, 276 "label": "V1" 277 }, 278 { 279 "type": 2, 280 "custom_id": "MJ::JOB::variation::2::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 281 "style": 2, 282 "label": "V2" 283 }, 284 { 285 "type": 2, 286 "custom_id": "MJ::JOB::variation::3::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 287 "style": 2, 288 "label": "V3" 289 }, 290 { 291 "type": 2, 292 "custom_id": "MJ::JOB::variation::4::3eaa7c0c-9825-4110-9c89-02c4e463a8d0", 293 "style": 2, 294 "label": "V4" 295 } 296 ] 297 } 298 ], 299 "message_reference": { 300 "channel_id": "1008571020480876554", 301 "message_id": "1131713484078461018", 302 "guild_id": "662267976984297473" 303 } 304 } 305}
Discord server members
1{ 2 "id": "211868139443453952", 3 "bot": false, 4 "system": false, 5 "flags": 0, 6 "connectedAccounts": [], 7 "premiumSince": null, 8 "premiumGuildSince": null, 9 "bio": null, 10 "pronouns": null, 11 "application": null, 12 "username": "notani.", 13 "globalName": "-Ani-", 14 "discriminator": "0", 15 "avatar": null, 16 "avatarDecoration": null, 17 "createdTimestamp": 1470583700763, 18 "defaultAvatarURL": "https://cdn.discordapp.com/embed/avatars/3.png", 19 "tag": "notani.", 20 "avatarURL": null, 21 "displayAvatarURL": "https://cdn.discordapp.com/avatars/211868139443453952/1019233d0aec84e3472a25eeabfa26bb.webp", 22 "guildId": "797239171730505839", 23 "joinedTimestamp": 1653433130270, 24 "premiumSinceTimestamp": null, 25 "nickname": null, 26 "pending": false, 27 "communicationDisabledUntilTimestamp": null, 28 "userId": "211868139443453952", 29 "displayName": "-Ani-", 30 "roles": [ 31 "797239171730505839" 32 ] 33}
Developer
Maintained by Community
Actor metrics
- 37 monthly users
- 57.1% runs succeeded
- 21.4 days response time
- Created in Jul 2023
- Modified 16 days ago
Categories