arvinja / scrape_discord Goto Github PK
View Code? Open in Web Editor NEWScrape discord channels
Scrape discord channels
hi, i'm getting this error when trying to scrape a channel
# python scrape_channels.py --server_id X --user X --password X --token X --channels X
Logged in as
bamtan
------
scraping logs for general
Ignoring exception in on_ready
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\client.py", line 307, in _run_event
yield from getattr(self, event)(*args, **kwargs)
File "scrape_channels.py", line 35, in on_ready
yield from scrape_logs_from(channel)
File "scrape_channels.py", line 69, in scrape_logs_from
gen = yield from client.logs_from(channel, limit=1)
TypeError: 'LogsFromIterator' object is not iterable
I was wondering if it would be possible to add an extra condition in your script to only fetch message history from a specific user on a discord server? (ie. scrape all messages by an arbitrary user_id
, instead of channel_id
. I am struggling to find a proper solution. I will be grateful for any help you can provide.
So I am trying to use the script with aiohttp-2.3.7 yarl-1.1.0 and client/password mode.
but keep getting:
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa011ae6dd8>
Any idea why its happening?
Hello can this bot scrape channels and post the scraped info on your own discord for example?
so I'm getting this error when I try to install requirements with pip, on Ubuntu 16.04 VPS and python3.5.2 as default python3 version. Any idea what does this mean and how to solve this? :D
hi trying with token pulled from developer toolbar, in auth section as token not present anymore. but in cli i get discord.errors.LoginFailure: Improper token has been passed.
not sure if just me or not working anymore, would be good if someone else can verify
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.