code: def parse_arc_record(self, record):
          
          url = record.rec_headers.get_header('uri')
          url = url.replace('\r', '%0D')
          url = url.replace('\n', '%0A')
          # replace formfeed
          url = url.replace('\x0c', '%0C')
          # replace nulls
          url = url.replace('\x00', '%00')
  
          entry = self._create_index_entry(record.rec_type)
          entry['url'] = url
  
          # timestamp
          entry['timestamp'] = record.rec_headers.get_header('archive-date')
          if len(entry['timestamp']) > 14:
              entry['timestamp'] = entry['timestamp'][:14]
  
          if not self.options.get('minimal'):
              # mime
              entry.extract_mime(record.rec_headers.get_header('content-type'))
  
              # status
              entry.extract_status(record.http_headers)
  
          # digest
          entry['digest'] = '-'
  
          return entry
docs: Parse arc record