Discord Scraper
3 days trial then $15.00/month - No credit card required now
This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?
See alternative ActorsDiscord Scraper
3 days trial then $15.00/month - No credit card required now
Allows to scrape public Discord info without the need for a bot - for now only supports messages from a list of channels
Included features
- retrieve messages from a list of channels (includes content, attachement, embeds, author info, reactions, ...)
How to get your user token
Your user token is used by Discord to make authenticated requests to the Discord API.
To get this token you can inspect a network request
- Login to Discord and visit any channel
- open your browser's Developer Tools
- navigate to the Network tab
- search for "messages" (reload page if nothing appears)
or
- Login to Discord
- open your browser's Developer Tools
- Paste the following code in the browser console
1webpackChunkdiscord_app.push([ 2 [Math.random()], 3 {}, 4 req => { 5 const token = Object.values(req.c || {}) 6 .map(v => v.exports?.default?.getToken || v.exports?.getToken) 7 .find(m => m)(); 8 console.log(`Your token: ${token}`); 9 copy(token) 10 }, 11]);
Output Example
The actor will return a list (one item for each provided channel id) with an object containing messages. Please refer to the Discord documention to see which fields are included in the Message Object.
1[ 2 { 3 messages: [ 4 { 5 "type": 0, 6 "content": "📢 Hey AI enthusiasts @here!\nWe just released our new **RAG Web Browser**, an Actor designed to do deep crawling and extract content from top Google search results. It helps you gather up-to-date and relevant data for your Retrieval-Augmented Generation (RAG) use cases.\n\nGive it a try! 👇\nhttps://apify.com/apify/rag-web-browser", 7 "mentions": [], 8 "mention_roles": [], 9 "attachments": [], 10 "embeds": [ 11 { 12 "type": "article", 13 "url": "https://apify.com/apify/rag-web-browser", 14 "title": "RAG Web Browser · Apify", 15 "description": "Web browser for a retrieval augmented generation workflows. Retrieve and return website content from the top Google Search Results Pages", 16 "provider": { 17 "name": "Apify" 18 }, 19 "content_scan_version": 0 20 } 21 ], 22 "timestamp": "2024-09-26T14:39:34.346000+00:00", 23 "edited_timestamp": "2024-09-26T14:42:57.897000+00:00", 24 "flags": 1, 25 "components": [], 26 "id": "1288872601724125185", 27 "channel_id": "801236795332231168", 28 "author": { 29 "id": "729157691812872213", 30 "username": "oscarfuerte", 31 "avatar": "2172fe3b45221944cb8a3955e1871192", 32 "discriminator": "0", 33 "public_flags": 0, 34 "flags": 0, 35 "banner": null, 36 "accent_color": null, 37 "global_name": "Oscar fuerte", 38 "avatar_decoration_data": null, 39 "banner_color": null, 40 "clan": null 41 }, 42 "pinned": false, 43 "mention_everyone": true, 44 "tts": false, 45 "reactions": [ 46 { 47 "emoji": { 48 "id": null, 49 "name": "🤖" 50 }, 51 "count": 3, 52 "count_details": { 53 "burst": 0, 54 "normal": 3 55 }, 56 "burst_colors": [], 57 "me_burst": false, 58 "burst_me": false, 59 "me": false, 60 "burst_count": 0 61 }, 62 { 63 "emoji": { 64 "id": null, 65 "name": "🚀" 66 }, 67 "count": 2, 68 "count_details": { 69 "burst": 0, 70 "normal": 2 71 }, 72 "burst_colors": [], 73 "me_burst": false, 74 "burst_me": false, 75 "me": false, 76 "burst_count": 0 77 }, 78 { 79 "emoji": { 80 "id": null, 81 "name": "💯" 82 }, 83 "count": 2, 84 "count_details": { 85 "burst": 0, 86 "normal": 2 87 }, 88 "burst_colors": [], 89 "me_burst": false, 90 "burst_me": false, 91 "me": false, 92 "burst_count": 0 93 }, 94 { 95 "emoji": { 96 "id": null, 97 "name": "💥" 98 }, 99 "count": 3, 100 "count_details": { 101 "burst": 0, 102 "normal": 3 103 }, 104 "burst_colors": [], 105 "me_burst": false, 106 "burst_me": false, 107 "me": false, 108 "burst_count": 0 109 } 110 ] 111 } 112] 113 } 114]
- 2 monthly users
- 2 stars
- 100.0% runs succeeded
- Created in Sep 2024
- Modified 14 days ago