Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import praw
- import config
- print("Logging in...")
- r = praw.Reddit(username = config.username,
- password = config.password,
- client_id = config.client_id,
- client_secret = config.client_secret,
- user_agent = "CSGO news bot")
- print("Logged in!")
- counter = 1
- for link in r.user.get_saved(limit=None):
- print('Saved link #' + str(counter))
- print('Title: '+ link.title.strip())
- print('URL: ' + link.url)
- print('Comments: ' + link.permalink)
- counter += 1
- print(counter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement