You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will do! Where in the directory structure do you expect you or other users to run the code? I want to make sure I'm putting the praw.ini file in the right spot since it needs to be in the same directory as where you're running the code.
Edit: Nevermind. Looking at how you're reading your config.ini file, it seems like you're running your ticker_counts.py file from your src directory!
Hey! Have you thought about using a top-level
praw.ini
to pass in your client id, client secret, and user_agent? See here for its documentation.Having a section in the
praw.ini
file that contains the following[ScraperBot]
client_id = ABCDE
client_secret = 12345
user_agent = ScraperBot
would allow initialization of the
Reddit
object to simply bereddit = praw.Reddit('ScraperBot')
. Plus, it would remove the current need fordotenv
.The text was updated successfully, but these errors were encountered: