Fetch Chapter By Symbolic Link
# Example to fetch a chapter by its symbolic link
symbolic_link = SymbolicLink(link="http://example.com/chapter/1")
chapter = Chapter(id="1", pages=[], link=symbolic_link)
try:
detailed_chapter = enma.fetch_chapter_by_symbolic_link(chapter=chapter)
print(f"Fetched {len(detailed_chapter.pages)} pages.")
except InvalidResource:
print("Error: Invalid chapter link.")Last updated