def get_recommendations(srs, count=10, source=SRC_MULTIREDDITS, to_omit=None, match_set=True, over18=False):
 srs = tup(srs)
 to_omit = (tup(to_omit) if to_omit else [])
 rec_id36s = SRRecommendation.for_srs([sr._id36 for sr in srs], to_omit, (count * 2), source, match_set=match_set)
 rec_srs = Subreddit._byID36(rec_id36s, return_dict=False)
 filtered = [sr for sr in rec_srs if is_visible(sr)]
 if ((not over18) and (not any((sr.over_18 for sr in srs)))):
  filtered = [sr for sr in filtered if (not sr.over_18)]
 return filtered[:count]

def get_recommendations ( srs , count = 10 , source = SRC_MULTIREDDITS , to_omit = None , match_set = True , over18 = False ) : srs = tup ( srs ) to_omit = ( tup ( to_omit ) if to_omit else [ ] ) rec_id36s = SRRecommendation . for_srs ( [ sr . _id36 for sr in srs ] , to_omit , ( count * 2 ) , source , match_set = match_set ) rec_srs = Subreddit . _byID36 ( rec_id36s , return_dict = False ) filtered = [ sr for sr in rec_srs if is_visible ( sr ) ] if ( ( not over18 ) and ( not any ( ( sr . over_18 for sr in srs ) ) ) ) : filtered = [ sr for sr in filtered if ( not sr . over_18 ) ] return filtered [ : count ]
return subreddits recommended if you like the given subreddits .