> ## Documentation Index
> Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PullMdLoader

Loader for converting URLs into Markdown using the pull.md service.

This package implements a [document loader](/oss/python/concepts/document_loaders/) for web content. Unlike traditional web scrapers, PullMdLoader can handle web pages built with dynamic JavaScript frameworks like React, Angular, or Vue.js, converting them into Markdown without local rendering.

## Overview

### Integration details

| Class        | Package           | Local | Serializable | JS Support |
| :----------- | :---------------- | :---: | :----------: | :--------: |
| PullMdLoader | langchain-pull-md |   ✅   |       ✅      |      ❌     |

## Setup

### Installation

```bash theme={null}
pip install langchain-pull-md
```

### Initialization

```python theme={null}
from langchain_pull_md.markdown_loader import PullMdLoader

# Instantiate the loader with a URL
loader = PullMdLoader(url="https://example.com")
```

### Load

```python theme={null}
documents = loader.load()
```

```python theme={null}
documents[0].metadata
```

```output theme={null}
{'source': 'https://example.com',
 'page_content': '# Example Domain\nThis domain is used for illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.'}
```

## Lazy Load

No lazy loading is implemented. `PullMdLoader` performs a real-time conversion of the provided URL into Markdown format whenever the `load` method is called.

## API reference

* [GitHub](https://github.com/chigwell/langchain-pull-md)
* [PyPi](https://pypi.org/project/langchain-pull-md/)
