<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _build_crawlid_info(self, master, dict):
        '''
        Builds the crawlid info object

        @param master: the master dict
        @param dict: the dict object received
        @return: the crawlid info object
        '''
        master['total_pending'] = 0
        master['total_domains'] = 0
        master['appid'] = dict['appid']
        master['crawlid'] = dict['crawlid']
        master['spiderid'] = dict['spiderid']
        master['domains'] = {}

        timeout_key = 'timeout:{sid}:{aid}:{cid}'.format(sid=dict['spiderid'],
                                                         aid=dict['appid'],
                                                         cid=dict['crawlid'])
        if self.redis_conn.exists(timeout_key):
            master['expires'] = self.redis_conn.get(timeout_key)

        # get all domain queues
        match_string = '{sid}:*:queue'.format(sid=dict['spiderid'])
        for key in self.redis_conn.scan_iter(match=match_string):
            domain = key.split(":")[1]
            sortedDict = self._get_bin(key)

            # now iterate through binned dict
            for score in sortedDict:
                for item in sortedDict[score]:
                    if 'meta' in item:
                        item = item['meta']
                    if item['appid'] == dict['appid'] and item['crawlid'] == dict['crawlid']:
                        if domain not in master['domains']:
                            master['domains'][domain] = {}
                            master['domains'][domain]['total'] = 0
                            master['domains'][domain]['high_priority'] = -9999
                            master['domains'][domain]['low_priority'] = 9999
                            master['total_domains'] = master['total_domains'] + 1

                        master['domains'][domain]['total'] = master['domains'][domain]['total'] + 1

                        if item['priority'] > master['domains'][domain]['high_priority']:
                            master['domains'][domain]['high_priority'] = item['priority']

                        if item['priority'] < master['domains'][domain]['low_priority']:
                            master['domains'][domain]['low_priority'] = item['priority']

                        master['total_pending'] = master['total_pending'] + 1

        return master