# LinkExtractor

> **Class** in `langchain_community`

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

Interface for extracting links (incoming, outgoing, bidirectional).

## Signature

```python
LinkExtractor()
```

## Extends

- `ABC`
- `Generic[InputT]`

## Methods

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

---

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