# DiffbotLoader

> **Class** in `langchain_community`

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

Load `Diffbot` json file.

## Signature

```python
DiffbotLoader(
    self,
    api_token: str,
    urls: List[str],
    continue_on_failure: bool = True,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `api_token` | `str` | Yes | Diffbot API token. |
| `urls` | `List[str]` | Yes | List of URLs to load. |
| `continue_on_failure` | `bool` | No | Whether to continue loading other URLs if one fails. Defaults to True. (default: `True`) |

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    api_token: str,
    urls: List[str],
    continue_on_failure: bool = True,
)
```

| Name | Type |
|------|------|
| `api_token` | `str` |
| `urls` | `List[str]` |
| `continue_on_failure` | `bool` |


## Properties

- `api_token`
- `urls`
- `continue_on_failure`

## Methods

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

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/diffbot.py#L12)