# Path: pydarkstar/scrubbing/ffxiah.py
# SERVER_ID = {
#     'bahamut': 1,
#     'shiva': 2,
#     'titan': 3,
#     'ramuh': 4,
#     'phoenix': 5,
#     'carbuncle': 6,
#     'fenrir': 7,
#     'sylph': 8,
#     'valefor': 9,
#     'alexander': 10,
#     'leviathan': 11,
#     'odin': 12,
#     'ifrit': 13,
#     'diabolos': 14,
#     'caitsith': 15,
#     'quetzalcoatl': 16,
#     'siren': 17,
#     'unicorn': 18,
#     'gilgamesh': 19,
#     'ragnarok': 20,
#     'pandemonium': 21,
#     'garuda': 22,
#     'cerberus': 23,
#     'kujata': 24,
#     'bismarck': 25,
#     'seraph': 26,
#     'lakshmi': 27,
#     'asura': 28,
#     'midgardsormr': 29,
#     'fairy': 30,
#     'remora': 31,
#     'hades': 32
# }


from ...options.basic import BasicOptions
from ...options.output import OutputOptions
from ...scrubbing.ffxiah import SERVER_ID
        self.exclude('urls')

    def __after__(self):
        super(Options, self).__after__()

        urls = []
        for obj in self.urls:
            if isinstance(obj, list):
                urls.extend(obj)
            else:
                urls.append(obj)
        self.urls = urls

        if not self.urls:
            self.urls = None

        itemids = []
        for obj in self.itemids:
            if isinstance(obj, list):
                itemids.extend(obj)
            else:
                itemids.append(obj)
        self.itemids = itemids

        if not self.itemids:
            self.itemids = None

        try:
            self.server = int(self.server)
            if self.server not in SERVER_ID.values():

# Path: pydarkstar/scrubbing/ffxiah.py
# SERVER_ID = {
#     'bahamut': 1,
#     'shiva': 2,
#     'titan': 3,
#     'ramuh': 4,
#     'phoenix': 5,
#     'carbuncle': 6,
#     'fenrir': 7,
#     'sylph': 8,
#     'valefor': 9,
#     'alexander': 10,
#     'leviathan': 11,
#     'odin': 12,
#     'ifrit': 13,
#     'diabolos': 14,
#     'caitsith': 15,
#     'quetzalcoatl': 16,
#     'siren': 17,
#     'unicorn': 18,
#     'gilgamesh': 19,
#     'ragnarok': 20,
#     'pandemonium': 21,
#     'garuda': 22,
#     'cerberus': 23,
#     'kujata': 24,
#     'bismarck': 25,
#     'seraph': 26,
#     'lakshmi': 27,
#     'asura': 28,
#     'midgardsormr': 29,
#     'fairy': 30,
#     'remora': 31,
#     'hades': 32
# }


# Path: pydarkstar/apps/scrub/options.py
from ...options.basic import BasicOptions
from ...options.output import OutputOptions
from ...scrubbing.ffxiah import SERVER_ID

        self.exclude('urls')

    def __after__(self):
        super(Options, self).__after__()

        urls = []
        for obj in self.urls:
            if isinstance(obj, list):
                urls.extend(obj)
            else:
                urls.append(obj)
        self.urls = urls

        if not self.urls:
            self.urls = None

        itemids = []
        for obj in self.itemids:
            if isinstance(obj, list):
                itemids.extend(obj)
            else:
                itemids.append(obj)
        self.itemids = itemids

        if not self.itemids:
            self.itemids = None

        try:
            self.server = int(self.server)
            if self.server not in SERVER_ID.values():

                for server, server_id in SERVER_ID.items():