def get_submission_ids(combined_submissions, subreddit):
    """ Get submission ids, remove duplicates, verify subreddit """
    submission_ids = [
        sub["id"]
        for sub in combined_submissions
        if sub["subreddit"].lower() == subreddit.lower()
    ]
    submission_ids = list(set(submission_ids))
    return submission_ids