Skip to main content


Project Gutenberg is an online library of free eBooks.

This notebook covers how to load links to Gutenberg e-books into a document format that we can use downstream.

from langchain_community.document_loaders import GutenbergLoader
API Reference:GutenbergLoader
loader = GutenbergLoader("")
data = loader.load()
'The Project Gutenberg eBook of The changed brides, by Emma Dorothy\r\n\n\nEliza Nevitte Southworth\r\n\n\n\r\n\n\nThis eBook is for the use of anyone anywhere in the United States and\r\n\n\nmost other parts of the world at no cost and with almost no restrictions\r\n\n\nwhatsoever. You may copy it, give it away or re-u'
{'source': ''}

Was this page helpful?

You can leave detailed feedback on GitHub.