# OnlinePDFLoader

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/pdf/OnlinePDFLoader)

Load online `PDF`.

## Signature

```python
OnlinePDFLoader(
    self,
    file_path: Union[str, PurePath],
    *,
    headers: Optional[dict] = None,
)
```

## Extends

- `BasePDFLoader`

## Methods

- [`load()`](https://reference.langchain.com/python/langchain-community/document_loaders/pdf/OnlinePDFLoader/load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/document_loaders/pdf.py#L177)