always force https urls
This commit is contained in:
@@ -163,7 +163,7 @@ class SubmissionContent(BaseContent):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
with loader():
|
with loader():
|
||||||
submission = reddit.get_submission(url, comment_sort='hot')
|
submission = reddit.get_submission(url.replace("http:","https:"), comment_sort='hot')
|
||||||
except praw.errors.APIException:
|
except praw.errors.APIException:
|
||||||
raise SubmissionError(url)
|
raise SubmissionError(url)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user