logger.info(f"Processing {pretty}: {data['limit']} Anime from {util.pretty_seasons[data['season']]}{data['year']} sorted by {util.anilist_pretty[data['sort_by']]}")
logger.info(f"Processing {pretty}: {data['limit']ifdata['limit']>0else'All'} Anime from {util.pretty_seasons[data['season']]}{data['year']} sorted by {util.anilist_pretty[data['sort_by']]}")
logger.info(f"Processing {pretty}: {data['limit']ifdata['limit']>0else'All'} Anime from the Genre: {data['genre']} sorted by {util.anilist_pretty[data['sort_by']]}")
logger.info(f"Processing {pretty}: {data['limit']ifdata['limit']>0else'All'} Anime from the Tag: {data['tag']} sorted by {util.anilist_pretty[data['sort_by']]}")
if"sort_by"notindata[m]:logger.warning("Collection Warning: anilist_season sort_by attribute not found using score as default")
ifmethod_name=="anilist_season":
elifnotdata[m]["sort_by"]:logger.warning("Collection Warning: anilist_season sort_by attribute is blank using score as default")
elifdata[m]["sort_by"]notin["score","popular"]:logger.warning(f"Collection Warning: anilist_season sort_by attribute {data[m]['sort_by']} invalid must be either 'score' or 'popular' using score as default")
if"sort_by"notindata[m]:logger.warning(f"Collection Warning: {method_name} sort_by attribute not found using score as default")
elifnotdata[m]["sort_by"]:logger.warning(f"Collection Warning: {method_name} sort_by attribute is blank using score as default")
elifdata[m]["sort_by"]notin["score","popular"]:logger.warning(f"Collection Warning: {method_name} sort_by attribute {data[m]['sort_by']} invalid must be either 'score' or 'popular' using score as default")