While gpt-4o denieds to show copyright material using this (like calling the file `harry-potter-first-chapter.md`), gpt-3 (or the one available for free at ChatGPT) does display the book content (they say they dont have access to the file but could return the chapter as markdown).
I just tried with different books and it worked.
replies(2):