Files
langchain-python/langchain/document_loaders
Kevin Huang e4cfaa5680 Introduces SeleniumURLLoader for JavaScript-Dependent Web Page Data Retrieval (#2291)
### Summary
This PR introduces a `SeleniumURLLoader` which, similar to
`UnstructuredURLLoader`, loads data from URLs. However, it utilizes
`selenium` to fetch page content, enabling it to work with
JavaScript-rendered pages. The `unstructured` library is also employed
for loading the HTML content.

### Testing
```bash
pip install selenium
pip install unstructured
```

```python
from langchain.document_loaders import SeleniumURLLoader

urls = [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://goo.gl/maps/NDSHwePEyaHMFGwh8"
]

loader = SeleniumURLLoader(urls=urls)
data = loader.load()
```
2023-04-02 14:05:00 -07:00
..
2023-02-10 18:08:00 -08:00
2023-03-30 20:58:14 -07:00
2023-02-20 08:20:48 -08:00
2023-02-05 23:02:07 -08:00
2023-03-28 08:17:22 -07:00
2023-03-17 09:05:08 -07:00
2023-02-26 17:27:00 -08:00
2023-03-28 08:38:19 -07:00
2023-03-27 19:51:34 -07:00
2023-02-24 07:22:48 -08:00
2023-03-22 19:57:46 -07:00
2023-02-08 00:35:33 -08:00
2023-03-28 15:28:33 -07:00
2023-02-08 12:00:47 -08:00
2023-03-14 21:17:50 -07:00
2023-02-20 08:20:48 -08:00
2023-02-25 08:48:02 -08:00
2023-02-05 23:02:07 -08:00
2023-03-07 21:09:54 -08:00
2023-02-08 00:35:33 -08:00
2023-03-30 20:46:36 -07:00
2023-02-18 10:58:39 -08:00
2023-02-17 00:53:01 -08:00
2023-03-28 15:28:33 -07:00
2023-03-20 22:53:52 -07:00