Guest User

Untitled

a guest
Jan 20th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. import praw
  2. from requests import Session
  3.  
  4. session = Session()
  5. session.proxies['https'] = 'https://localhost:3128'
  6. reddit = praw.Reddit(client_id='SI8pN3DSbt0zor',
  7. client_secret='xaxkj7HNh8kwg8e5t4m6KvSrbTI',
  8. password='1guiwevlfo00esyy',
  9. requestor_kwargs={'session': session}, # pass Session
  10. user_agent='testscript by /u/fakebot3',
  11. username='fakebot3')
Add Comment
Please, Sign In to add comment