|
|
@ -5,6 +5,7 @@ from praw.objects import Comment, Submission
|
|
|
|
from datetime import datetime, timedelta
|
|
|
|
from datetime import datetime, timedelta
|
|
|
|
from re import sub
|
|
|
|
from re import sub
|
|
|
|
from time import sleep
|
|
|
|
from time import sleep
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
from loremipsum import get_sentence
|
|
|
|
from loremipsum import get_sentence
|
|
|
|
except:
|
|
|
|
except:
|
|
|
@ -42,7 +43,6 @@ if _user and _pass:
|
|
|
|
# Try again (often get HTTP when Reddit is down for a second errors)
|
|
|
|
# Try again (often get HTTP when Reddit is down for a second errors)
|
|
|
|
sleep(10)
|
|
|
|
sleep(10)
|
|
|
|
r.login(_user, _pass)
|
|
|
|
r.login(_user, _pass)
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
r.login()
|
|
|
|
r.login()
|
|
|
|
|
|
|
|
|
|
|
|