Add exception for r/all in subreddit check

This commit is contained in:
Serene-Arc
2021-05-02 13:59:45 +10:00
committed by Serene
parent 14195157de
commit 711f8b0c76
2 changed files with 16 additions and 1 deletions

View File

@@ -468,6 +468,8 @@ class RedditDownloader:
@staticmethod
def _check_subreddit_status(subreddit: praw.models.Subreddit):
if subreddit.display_name == 'all':
return
try:
assert subreddit.id
except prawcore.NotFound: