Ran it again, didn't make any changes to the code, I got:
Traceback (most recent call last):
File "/home/sp6937/RedditStockSentiment-Addition.py", line 135, in <module>
for submission in reddit.subreddit('wallstreetbets').search(ticker, limit=180):
File "/usr/local/lib/python2.7/dist-packages/praw/models/listing/generator.py", line 81, in next
return self.next()
File "/usr/local/lib/python2.7/dist-packages/praw/models/listing/generator.py", line 52, in next
self._next_batch()
File "/usr/local/lib/python2.7/dist-packages/praw/models/listing/generator.py", line 62, in _next_batch
self._listing = self._reddit.get(self.url, params=self.params)
File "/usr/local/lib/python2.7/dist-packages/praw/reddit.py", line 442, in get
data = self.request("GET", path, params=params)
File "/usr/local/lib/python2.7/dist-packages/praw/reddit.py", line 577, in request
method, path, data=data, files=files, params=params
File "/usr/local/lib/python2.7/dist-packages/prawcore/sessions.py", line 185, in request
params=params, url=url)
File "/usr/local/lib/python2.7/dist-packages/prawcore/sessions.py", line 116, in _request_with_retries
data, files, json, method, params, retries, url)
File "/usr/local/lib/python2.7/dist-packages/prawcore/sessions.py", line 101, in _make_request
params=params)
File "/usr/local/lib/python2.7/dist-packages/prawcore/rate_limit.py", line 35, in call
kwargs['headers'] = set_header_callback()
File "/usr/local/lib/python2.7/dist-packages/prawcore/sessions.py", line 145, in _set_header_callback
self._authorizer.refresh()
File "/usr/local/lib/python2.7/dist-packages/prawcore/auth.py", line 299, in refresh
self._request_token(grant_type='client_credentials')
File "/usr/local/lib/python2.7/dist-packages/prawcore/auth.py", line 138, in _request_token
response = self._authenticator._post(url, **data)
File "/usr/local/lib/python2.7/dist-packages/prawcore/auth.py", line 31, in _post
raise ResponseException(response)
ResponseException: received 401 HTTP response