File size: 315 Bytes
b01d6d3
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import praw

print('Go to https://praw.readthedocs.io/en/stable/getting_started/authentication.html for authentication instructions')

def get_agent():
    reddit = praw.Reddit(
        client_id="<fill this up>",
        client_secret="<fill this up>",
        user_agent="<fill this up>",
    )
    return reddit