changed user
This commit is contained in:
parent
b9da761c1e
commit
23bd102e54
4
run.py
4
run.py
|
|
@ -65,8 +65,8 @@ def post(title, body, subreddit):
|
|||
# sys.exit(f'Succesfully posted your text to r/{subreddit}. Thank you for using my script!')
|
||||
|
||||
def authenticate(password, user):
|
||||
return praw.Reddit(client_id='iGx0qS8p1vxccA'
|
||||
, client_secret='ThFJk_Gc6wrQhn-2F7riwNOUYk4'
|
||||
return praw.Reddit(client_id='BeyDq1uf14_vfQ'
|
||||
, client_secret='ogpfdmBvy4T67UYmE6w-2PeIhnU'
|
||||
, password=password
|
||||
, user_agent='PrawTut'
|
||||
, username=user)
|
||||
|
|
|
|||
Loading…
Reference in New Issue