Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import praw
- from requests import Session
- session = Session()
- session.proxies['https'] = 'https://localhost:3128'
- reddit = praw.Reddit(client_id='SI8pN3DSbt0zor',
- client_secret='xaxkj7HNh8kwg8e5t4m6KvSrbTI',
- password='1guiwevlfo00esyy',
- requestor_kwargs={'session': session}, # pass Session
- user_agent='testscript by /u/fakebot3',
- username='fakebot3')
Add Comment
Please, Sign In to add comment