Discord-Scraper icon indicating copy to clipboard operation
Discord-Scraper copied to clipboard

Can you limit returns by date?

Open jlee462 opened this issue 3 years ago • 2 comments

I am running the scraper on a channel that has tons of messages and it is taking a long time. I would like to schedule it and pass a date (or now - x amount of time) so that I am not grabbing everything. I noticed you have some date functions in there, but I am not great at python.

Do any of the date functions currently in the code allow for limiting the messages gathered by date?

Thank you!!!

jlee462 avatar Nov 15 '21 18:11 jlee462

Also interested in this. I'd only like to scrape and look at the last 24-48 hours if possible

edenraf avatar Nov 24 '21 07:11 edenraf

There is some information from another user: @pablonosh You can find this in discord.py, line 190

https://github.com/Dracovian/Discord-Scraper/issues/48#issuecomment-875896966

edenraf avatar Nov 24 '21 11:11 edenraf