From bc1bd474114e697c0bf1c30b2df51b07f1a969a8 Mon Sep 17 00:00:00 2001 From: David Trail Date: Tue, 16 Sep 2014 20:06:53 +0100 Subject: [PATCH] Better user-agent --- shreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shreddit.py b/shreddit.py index 41c837e..300b418 100755 --- a/shreddit.py +++ b/shreddit.py @@ -58,7 +58,7 @@ whitelist_gilded = config.getboolean('main', 'whitelist_gilded') _user = config.get('main', 'username') _pass = config.get('main', 'password') -r = praw.Reddit(user_agent="Shreddit-PRAW 3") +r = praw.Reddit(user_agent="shreddit/3.1") def login(user=None, password=None):