Skip to content

Instantly share code, notes, and snippets.

View eric-chapdelaine's full-sized avatar

Eric Chapdelaine eric-chapdelaine

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eric-chapdelaine on github.
  • I am emchap4 (https://keybase.io/emchap4) on keybase.
  • I have a public key whose fingerprint is 3F09 D251 0BAC AE7A 9268 9C2C 087B 19A8 2B52 E197

To claim this, I am signing this object:

@eric-chapdelaine
eric-chapdelaine / scrapper.py
Created April 8, 2021 17:55
Reddit Scrapper to Get All Text Between Dates
import praw
from psaw import PushshiftAPI
import datetime as dt
api = PushshiftAPI()
posts_per_call = 100
# 26352000 seconds in range
seconds_between_calls = 26352000/posts_per_call