Get

This method retrieves detailed information about a specific manga identified by its unique identifier (ID). If with_symbolic_links is set to True, it fetches the manga with symbolic links to chapters, which can be useful for lazy loading of chapter details.

  • Parameters:

    • identifier: Unique identifier of the manga.

    • with_symbolic_links: Fetches the manga with symbolic links if set to True.

  • Returns: A Manga object containing detailed information if found, or None otherwise.

  • Raises: SourceWasNotDefined if no source has been set before calling this method.

# Example to retrieve a specific manga by its ID with symbolic links to chapters
manga_id = "12345"
manga = enma.get(identifier=manga_id, with_symbolic_links=True)
if manga:
    print(f"Manga Title: {manga.title.english}")
else:
    print("Manga not found.")

Last updated