code: def _build_document_converter(cls, session: AppSession):
          '''Build the Document Converter.'''
  
          if not session.args.convert_links:
              return
  
          converter = session.factory.new(
              'BatchDocumentConverter',
              session.factory['HTMLParser'],
              session.factory['ElementWalker'],
              session.factory['URLTable'],
              backup=session.args.backup_converted
          )
  
          return convertef _build_document_converter(cls, session: AppSession):
          '''Build the Document Converter.'''
  
          if not session.args.convert_links:
              return
  
          converter = session.factory.new(
              'BatchDocumentConverter',
              session.factory['HTMLParser'],
              session.factory['ElementWalker'],
              session.factory['URLTable'],
              backup=session.args.backup_converted
          )
  
          return converter
docs: Build the Document Converter.