# LinkExtractorAdapter

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/graph_vectorstores/extractors/link_extractor_adapter/LinkExtractorAdapter)

## Signature

```python
LinkExtractorAdapter(
    self,
    underlying: LinkExtractor[UnderlyingInputT],
    transform: Callable[[InputT], UnderlyingInputT],
)
```

## Extends

- `LinkExtractor[InputT]`

## Constructors

```python
__init__(
    self,
    underlying: LinkExtractor[UnderlyingInputT],
    transform: Callable[[InputT], UnderlyingInputT],
) -> None
```

| Name | Type |
|------|------|
| `underlying` | `LinkExtractor[UnderlyingInputT]` |
| `transform` | `Callable[[InputT], UnderlyingInputT]` |


## Methods

- [`extract_one()`](https://reference.langchain.com/python/langchain-community/graph_vectorstores/extractors/link_extractor_adapter/LinkExtractorAdapter/extract_one)
- [`extract_many()`](https://reference.langchain.com/python/langchain-community/graph_vectorstores/extractors/link_extractor_adapter/LinkExtractorAdapter/extract_many)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/graph_vectorstores/extractors/link_extractor_adapter.py#L14)