def scrap_subreddit(scrapped_data, subreddit, obj):

    try:
        if obj['subreddit'] == subreddit:
            # print(obj)
            scrapped_data.append(obj)
    except Exception as e:
        pass

6032a35f7d916ddebd971e46ef156af9e0096106
<mask token>

def scrap_subreddit(scrapped_data, subreddit, obj):
    try:
        if obj['subreddit'] == subreddit:
            scrapped_data.append(obj)
    except Exception as e:
        pass

def scrap_subreddit(scrapped_data, subreddit, obj):

    try:
        if obj['subreddit'] == subreddit:
            # print(obj)
            scrapped_data.append(obj)
    except Exception as e:
        pass
